1.69884E+12,“2023-11-01T12:10:46.247Z WARN 7 — [ad | producer-2] o.a.k.clients.producer.internals.Sender : [Producer clientId=producer-2] Got error produce response with correlation id 1481 on topic-partition sainsburys.applications.sc-dfid.mob-byte-array-output.v14-0, retrying (2147483646 attempts left). Error: NOT_LEADER_OR_FOLLOWER”
1.69884E+12,“2023-11-01T12:10:46.248Z WARN 7 — [ad | producer-2] o.a.k.clients.producer.internals.Sender : [Producer clientId=producer-2] Received invalid metadata error in produce request on partition sainsburys.applications.sc-dfid.mob-byte-array-output.v14-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”
What properties i need to change to resolve the issue?