1

I am trying to send some sample records along with schema in my kafka topic. On line producer.send(record) I am facing unauthorised error?

I have provided the basic auth details and url in my config. Also, I have assigned all kind of roles to the topic.

What could be missing and why is it not allowing me to send records?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Geeky
  • 41
  • 1
  • 5
  • @onecricketeer any suggestions please? – Geeky Aug 28 '21 at 19:25
  • Show a [mcve], please – OneCricketeer Aug 29 '21 at 12:18
  • Did you happen to find a solution. I am also stuck with a similar issues. here is the thread https://stackoverflow.com/questions/75174381/how-to-rotate-confluent-cloud-keys-api-keys-through-terraform-of-keys-are-delete/75174548#75174548 – braj Jan 21 '23 at 05:45

1 Answers1

0

Provide your details log then we can take are deeper look. Basically you should double check the config related to producer:

  • tls enable or not
  • client-id (if you might enable transactional)
  • ACL for the target topic (write permission)
tulh
  • 1