You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "daniel-imgarena (via GitHub)" <gi...@apache.org> on 2024/03/20 12:45:33 UTC
[I] Kafka ingestion breaks when headers miss values (druid)
daniel-imgarena opened a new issue, #16177:
URL: https://github.com/apache/druid/issues/16177
Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
### Affected Version
28.0.1, at least
### Description
When getting data from Kafka message headers, if the header has a key but not a value, ingestion breaks and starts a never ending loop of new task spawning and breaking in the first seconds when trying to process the same record again.
<img width="314" alt="Screenshot 2024-03-20 at 12 38 52" src="https://github.com/apache/druid/assets/120737399/2292848b-2773-447b-a64a-f4702f8772ab">
<img width="1369" alt="Screenshot 2024-03-20 at 12 41 37" src="https://github.com/apache/druid/assets/120737399/122f3c72-ff4d-4cfd-b3e4-2029dc01b583">
We can't control what's on the producer side, but we should assure Druid that it will either ignore this header (best) or at least skip the record with weird headers. Stopping the ingestion is not good behaviour.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [I] Kafka ingestion breaks when headers miss values (druid)
Posted by "kfaraz (via GitHub)" <gi...@apache.org>.
kfaraz closed issue #16177: Kafka ingestion breaks when headers miss values
URL: https://github.com/apache/druid/issues/16177
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [I] Kafka ingestion breaks when headers miss values (druid)
Posted by "abhishekagarwal87 (via GitHub)" <gi...@apache.org>.
abhishekagarwal87 commented on issue #16177:
URL: https://github.com/apache/druid/issues/16177#issuecomment-2009731844
Yes. The code should just add `null` I suppose. Is it something you will be interested in fixing? Should be a simple fix in this class - https://github.com/apache/druid/blob/master/extensions-core/kafka-indexing-service/src/main/java/org/apache/druid/data/input/kafkainput/KafkaStringHeaderReader.java
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org