Closed MatanShabi closed 5 years ago
I'm seeing the same issue. The same messages without headers are OK but when headers are sent the worker kind of crashes - it stops mirroring of all topics, not just the ones that have messages with headers.
To clarify: when there's a topic that gets replicated and contains even one message with headers - uReplicator completely crashes and burns, there's no recovery from that. All replication of all other topics completely stops.
Edit: previous comment is not correct.
@MatanShabi @rantav I tried to mirroring data with headers but I couldn't reproduce your problem. Are you able to provide an simple reproduce step?
@MatanShabi @rantav I tried to mirroring data with headers but I couldn't reproduce your problem. Are you able to provide an simple reproduce step?
Really? OK, that's surprising. for it failed pretty consistently for me the second I started sending headers, but there's always a chance that something else was going on.
@00Sheep00 Are you saying that right now uReplicator is supposed to support messages with headers? If so then I'll try to get a simple repro (my current repro involves two data centers, two k8s clusters and other perks you're not keen to touch if you don't have to...)
you saying that right now uReplicator is supposed to support messages with headers? If so then I'll try to get a simple repro (my current repro involves two data centers, two k8s clusters and other perks you're not keen to touch if you don't have to...)
no it doesn't support headers, when I produce messages with headers from source cluster , I was able to receive it on destination cluster, without headers.
no it doesn't support headers, when I produce messages with headers from source cluster , I was able to receive it on destination cluster, without headers.
I see. But it didn't completely crash on you? OK let me do some more checks it's possible that it crashed for other reasons. But it definitely consistently crashed. I moved to working on something else but I'll try to set some time aside to get a decent repro for you
no it doesn't support headers, when I produce messages with headers from source cluster , I was able to receive it on destination cluster, without headers.
I see. But it didn't completely crash on you? OK let me do some more checks it's possible that it crashed for other reasons. But it definitely consistently crashed. I moved to working on something else but I'll try to set some time aside to get a decent repro for you
that's right, it didn't crash. thank you for the addition info! I will have a try on docker container. Also, May I know your kafka version, producer api version and which language your are using to produce message.
Kafka: 2.1.0
(using this docker solsson/kafka:2.1.0@sha256:ac3f06d87d45c7be727863f31e79fbfdcb9c610b51ba9cf03c75a95d602f15e1)
Producer: written in Go using github.com/confluentinc/confluent-kafka-go version 0.11.6
(which subsequently uses the C library librdkafka-dev
version 0.11.6
, the latest)
FYI I tried to repro the crash I'd seen before with message headers and I can't. I assume it wasn't related to the headers but I cannot repro it at all so let's assume it didn't happen and if it happens again I'll do the research ;)
FYI I tried to repro the crash I'd seen before with message headers and I can't. I assume it wasn't related to the headers but I cannot repro it at all so let's assume it didn't happen and if it happens again I'll do the research ;)
thanks for follow up. FYI, we have plan to supporting header in this year.
There is a known issue on kafka 1.1.0 https://issues.apache.org/jira/browse/KAFKA-6739 Please upgrade to kafka 1.1.1
There is a known issue on kafka 1.1.0 https://issues.apache.org/jira/browse/KAFKA-6739 Please upgrade to kafka 1.1.1
thanks! it worked 👍 .
uReplicator master branch throws exceptions while trying to consume messages with headers (produced by producer version 1.1.0), the same uReplicator works fine with the same producer just without headers.
relevant logs: