I am trying to setup a proxy server (preferred in java) that can pass my connection stream to kafka broker.
Client (Consumer/Producer) <--> [PROXY SERVER] <--> Kafka Broker
My use case is consume the data from kafka, but the configuration params should be proxied to kafka broker.
e.g bootstrap.servers=xx.xx.xx.xx:9091, topic=<encrypted-topic>
Port 9091 is proxy server where I am decrypting the topic to original topic and passing the connection stream to kafka.
Job of proxy layer is to check if the encrypted topic is present in in-memory map of topics and if yes then decrypt the topic and connect to kafka broker.