Unable to read Kafka topic messages
Hi,
I am working on one of the Kafka use-cases in my project, where the scenario is as follows:
Step 1: I have to update records of a table (lets say CUSTOMER) in web portal
Step 2: A Spark Streaming job will be running which will capture the DES (Data Event Streaming) eventId related to the above.
Step 3: It will connect to the Broker at port 9092, pull the messages, process them and put them as records in one of RDBMS table.
This entire scenario is being executed in Spark Cluster setup in-side Kubernetes.
The same job is running perfectly fine outside Kubernetes. But, inside Kubernetes, although the job is able to connect to Broker at port 9092 without any issues, it's not reading any real-time events and I am getting a loop of the below messages:
19/12/23 16:00:00.180 DEBUG Fetcher: [Consumer clientId=consumer-1, groupId=test] Added READ_UNCOMMITTED fetch request for partition table-update-0 at offset 102 to node 10.20.0.44:29092 (id: 1 rack: null)
19/12/23 16:00:00.180 DEBUG FetchSessionHandler: [Consumer clientId=consumer-1, groupId=test] Built incremental fetch (sessionId=96537117, epoch=359) for node 1. Added 0 partition(s), altered 0 partition(s), removed 0 partition(s) out of 1 partition(s)
19/12/23 16:00:00.180 DEBUG Fetcher: [Consumer clientId=consumer-1, groupId=test] Sending READ_UNCOMMITTED IncrementalFetchRequest(toSend=(), toForget=(), implied=(table-update-0)) to broker 10.20.0.44:29092 (id: 1 rack: null)
19/12/23 16:00:00.246 DEBUG TaskSchedulerImpl: parentName: , name: TaskSet_0.0, runningTasks: 0
19/12/23 16:00:00.683 DEBUG FetchSessionHandler: [Consumer clientId=consumer-1, groupId=test] Node 1 sent an incremental fetch response for session 96537117 with 0 response partition(s), 1 implied partition(s)
I need your help in understanding what could be wrong with the setup in Kubernetes.
Please let me know if any additional information is required.
Thanks and Regards,
Sudhindra

