Enabling Kafka security
You can use SSL to encrypt the communication between the Kafka broker and client applications.
About this task
To enable data communication to take place in a secure fashion, you must create a key store and a trust store, and then configure them on both the Kafka broker and Kafka server. You must also create a trust store for the client application to ensure completely secure communication.