Archive of stories published by Average problems quick solutions

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

About
Average problems quick solutions
For all the small and average problems that gives you hard time and end up fixing by small tricks.
More information
Tags
Editors