Skip to content

Example showing how to configure custom certificate with strimzi kafka for user AUTH/Z

Notifications You must be signed in to change notification settings

sreejesh123/custom_certificate_strimzi_kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

custom_certificate_strimzi_kafka

Example showing how to configure custom certificate with strimzi kafka for user AUTH/Z

STRMZI is a very powerful OSS implemention of KAFKA. Which gives an operator lead KAFKA implementaton for K8s. Since its oprator lead Strimzi uses its own SELFSINGED certificate for internal opearation.

As a corporate organiztion there might be chance that you will have a CERT provider and you want the KAFKA users (CONSUMER and PUBLISHERS) to use company provided certificate provider signed certs.

By default APACHE KAFKA gives certificate regex, but that is blocekd in Strimzu. However Strimzi gives a powerful option to override the pricipal builder class which KAFKA uses for CN validation. The example provided here helps you build a custom principal builder and some add on file to package the kafka image and how to use that in your implementation.

a. Make sure the provided source code is built and class created b. Class created is passed on to dockerfile .Make sure you run the docker file provided to add the customClass to the KAFKA image

c. Make sure the KAFKA manifest is updated to add principal.builder.class: CustomCNPrincipalBuilder

About

Example showing how to configure custom certificate with strimzi kafka for user AUTH/Z

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages