Could you enable ACLs on your cluster and not grant any principals
permission to write to the cluster?

On Fri, Jul 26, 2024, 11:13 Rotem S <rotems...@gmail.com> wrote:

> Hi, I would like to force disable producing to the kafka cluster and still
> allow consuming once the storage disk space reaches a certain threshold, we
> tried reducing the max message bytes and producer byte rate but it
> didnt work out well, The best solution we found was to make the
> min.insync.replicas config larger than the amount of brokers dynamically
> via the cli, making it so the producers will timeout when trying to write
> yet reading will still work. What do you think about this? Do you see any
> flaws with this idea? This feature is available in rabbitmq and other
> software but is lacking in Kafka natively
>

Reply via email to