Re: How it is safe to break message ordering but not idempotency after getting an OutOfOrderSequenceException?

2022-06-15 Thread Matthias J. Sax
In general, the producer would retry internally. If it sends batch X, and didn't get an ack back for it, and gets a sequence error for X+1 that it sent after X, the producer would resend X again (as it knows X was never received by the broker) and afterwards X+1. Only if the producer did get

Kafka can not delete old logs for some portion

2022-06-15 Thread QQ
Hi,everyone I am using kafka 2.3.1,Following are my retention policy attributes : log.retention.hours=168 log.segment.bytes=1073741824 log.retention.check.interval.ms=30 When kafka cluster running a period,I found that Kafka not deleting old logs after 7 days. Here is whole config for my

Kraft - Adding new controllers in production

2022-06-15 Thread Martin Koběrský
Hello! I sent this message a couple of months ago, but I did not get a response. I hope it is ok to try again. I'm wondering if there's a right way to add new controllers to an already existing cluster without downtime. I've tried the following: I have three controllers joined in a cluster then o