← Back to context

Comment by kitd

5 years ago

due to a bug

Data retention time is Kafka config 101. Are you sure it was a bug?

Considering how half-assed Kafka is in general, that it needs all clients code changes when Kafka servers are upgraded. It is very likely that user hit Kafka bug.

  • > it needs all clients code changes when Kafka servers are upgraded

    It absolutely doesn't. Message formats predating Kafka 0.11 are only just being deprecated as of Kafka 3.0, and won't be dropped until Kafka 4.0.

    Now, if you want to use new shiny features (like cooperative sticky assignors to minimise consumer group stop the world rebalance pauses), then yes, you might need to upgrade clients.

    But otherwise, you can still happily use 0.8 clients with your upgraded brokers.

    https://cwiki.apache.org/confluence/display/KAFKA/KIP-724%3A...

  • Citation needed.

    New server versions are protocol backwards compatible so I'm not sure what you're referring to.

    Ofc, if you downgraded a server without changing the client, that may cause problems, but tbh that's hardly Kafka's fault.