Suri
Suri

Reputation: 229

Kafka Broker Authentication - Producer & Consumer

We are implementing a messaging solution using Kafka (version 0.8.2). Everything is fine except implementing security for Kafka Broker. Looks like anyone knowing the kafka host and port were able to publish and subscribe messages (kafka topic). Is there anyway to authenticate producer or consumer connections?

Any help would be greatly appreciated. Thanks all.

Upvotes: 1

Views: 1230

Answers (3)

Poorna Chander
Poorna Chander

Reputation: 63

It's advised to use OAuth model for Kafka security as we do for web services. Kafka 2.x comes with this feature. For data security, you can use SSL encryption either Symmetric or Asymmetric as per your needs,

Upvotes: 0

blue20080
blue20080

Reputation: 11

you can see https://github.com/blue20080/kafka . This project implement function "Add IP Filtering / Whitelists-Blacklists" , the issue about KAFKA-1810, for more details http://hadoop1989.com/2015/07/30/Upgrade-Kafka/

Upvotes: 1

Lukáš Havrlant
Lukáš Havrlant

Reputation: 4414

It's not supported right now but the change is scheduled for release with Kafka v0.8.3. See KAFKA-1690 for more details.

Upvotes: 0

Related Questions