CCDAK · Question #50
A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to…
The correct answer is C. The Kafka ACL does not allow another machine IP. ACLs take "Host" as a parameter, which represents an IP. It can be * (all IP), or a specific IP. Here, it's a specific IP as moving a producer to a different machine breaks the consumer, so the ACL needs to be updated.
Question
A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to Kafka but unable to produce to the same Kafka topic because of an authorization issue. What is the likely issue?
Options
- ABroker configuration needs to be changed to allow a different producer
- BYou cannot copy a producer application from one machine to another
- CThe Kafka ACL does not allow another machine IP
- DThe Kafka Broker needs to be rebooted
How the community answered
(47 responses)- A6% (3)
- B4% (2)
- C87% (41)
- D2% (1)
Explanation
ACLs take "Host" as a parameter, which represents an IP. It can be * (all IP), or a specific IP. Here, it's a specific IP as moving a producer to a different machine breaks the consumer, so the ACL needs to be updated.
Topics
Community Discussion
No community discussion yet for this question.