Untitled

 avatar
unknown
plain_text
2 years ago
3.3 kB
4
Indexable

Kafka Producer Timeout Error

Model: Default (GPT-3.5)

User
2023-07-27 09:12:01.790 ERROR 19352 --- [ad | producer-1] c.t.telecom.tib.producer.EventPublisher  : Message transmission failed for eventID:a47128cb-ab78-410d-be3c-8ad10fb9dcfd, eventType:updateSalesOrder, eventDate:2023-07-27T09:11:00+0530
2023-07-27 09:12:01.790 ERROR 19352 --- [ad | producer-1] c.t.telecom.tib.producer.EventPublisher  : Message transmission failed because of:Failed to send; nested exception is org.apache.kafka.common.errors.TimeoutException: Expiring 16 record(s) for salesorder.reconstruct.request-0:120000 ms has passed since batch creation
2023-07-27 09:12:01.790 DEBUG 19352 --- [ad | producer-1] c.t.telecom.tib.producer.EventPublisher  : event with eventstatus:{"event":{"eventType":"updateSalesOrder"},"request":{"buID":"DEFAULT","createdDate":"27-Jul-2023 09:11:00","orderId":"SALES_ORDER_10072023_01","opID":"HOB","userID":"SALES_ORDER_BATCH","subStatus":"COMPLETED","status":"COMPLETED"},"eventID":"a47128cb-ab78-410d-be3c-8ad10fb9dcfd","eventDate":"2023-07-27T09:11:00+0530","eventStatus":{"topic-publish":"FAILED"}}
2023-07-27 09:12:01.790 ERROR 19352 --- [ad | producer-1] o.s.k.support.LoggingProducerListener    : Exception thrown when sending a message with key='null' and payload='{"event":{"eventType":"updateSalesOrder"},"request":{"buID":"DEFAULT","createdDate":"27-Jul-2023 09:...' to topic salesorder.reconstruct.request

ChatGPT
Based on the provided log, it appears that there was an error in transmitting a message using a Kafka producer. Here's a breakdown of the log entry:

Timestamp: 2023-07-27 09:12:01.790
Log Level: ERROR
Process Information: 19352 (process ID)
Thread Information: [ad | producer-1]
Logger Name: c.t.telecom.tib.producer.EventPublisher
Log Message: Message transmission failed for eventID:a47128cb-ab78-410d-be3c-8ad10fb9dcfd, eventType:updateSalesOrder, eventDate:2023-07-27T09:11:00+0530
Error Details: Message transmission failed because of:Failed to send; nested exception is org.apache.kafka.common.errors.TimeoutException: Expiring 16 record(s) for salesorder.reconstruct.request-0:120000 ms has passed since batch creation
The error seems to be related to a timeout issue with Kafka while trying to send the message with the key and payload provided. Specifically, it says "Expiring 16 record(s) for salesorder.reconstruct.request-0:120000 ms has passed since batch creation." This indicates that the Kafka producer attempted to send a batch of 16 records related to the salesorder.reconstruct.request topic but was not able to complete it within the allowed time (120000 ms).

Furthermore, there's a debug log that provides additional information about the event, including its status, event type, request details, and event ID. It mentions that the topic-publish status was marked as "FAILED."

Lastly, there's an error reported by the Spring Kafka library (o.s.k.support.LoggingProducerListener), stating that an exception was thrown while attempting to send the message.

To troubleshoot this issue, you may need to investigate the Kafka producer's configuration, network connectivity, and the overall health of the Kafka cluster. It's possible that there are resource constraints, network issues, or misconfigurations causing the timeout during message transmission.
Editor is loading...