Hello, Why am I getting below logs continuously, how can I configure to avoid this.
11:32:43.469 WARN org.apache.kafka.clients.producer.internals.Sender - [Producer clientId=javaproducer11703811766106] Received invalid metadata error in produce request on partition CCR_CLZ_COM_STATUS_MONITOR-PREDEV_123-0 due to org.apache.kafka.common.errors.NotLeaderOrFollowerException: For requests intended only for the leader, this error indicates that the broker is not the current leader. For requests intended for any replica, this error indicates that the broker is not a replica of the topic partition.. Going to request metadata update now On Thu, Dec 14, 2023 at 1:50 AM David Arthur <david.art...@confluent.io.invalid> wrote: > Only brokers can be specified as --bootstrap-servers for AdminClient (the > bin/kafka-* scripts). > > In 3.7, we are adding the ability to bootstrap from KRaft controllers for > certain scripts. In this case, the scripts will use --bootstrap-controllers > (the details are in > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-919%3A+Allow+AdminClient+to+Talk+Directly+with+the+KRaft+Controller+Quorum+and+add+Controller+Registration > ) > > But in general, no controllers cannot be used as bootstrap servers. > > -David > > On Tue, Dec 5, 2023 at 10:05 AM Dima Brodsky <ddbrod...@gmail.com> wrote: > > > Hello, question, > > > > If I have my kafka cluster behind a VIP for bootstrapping, is it possible > > to have the controllers participate in the bootstrap process or only > > brokers can? > > > > Thanks! > > ttyl > > Dima > > > > -- > > ddbrod...@gmail.com > > > > "The price of reliability is the pursuit of the utmost simplicity. > > It is a price which the very rich find the most hard to pay." > > (Sir > > Antony Hoare, 1980) > > > > > -- > -David > -- Thanks & Regards *VIKRAM S SINGH*