Getting started with SpringBoot and Kafka

  1. Install Kafka and start zkServer and kafka-server
  2. Uncomment listeners & advertised.listerners in server.properties.
  3. SpringBoot App for kafka (sample)
  4. Run kafka in local

Using TLS in grpc-gateway

In GRPC client

By default DialOption{grpc.WithInsecure()} is used in example (point 6). As mention in docs you just need to replace WithInsecure with transport creds.

//opts := []grpc.DialOption{grpc.WithInsecure()}
creds