0

I want to send some custom request headers while connecting to schema registry from my java producer application.

Everytime I connect to the registry using the app, I want to send a header with the app-name so as to authenticate if the app can use the registry or not (I have handled all that with lua scripts in my nginx conf)

Only doubt I have is, how do I send headers with my request while connecting to schema registry from a java application

Im using hortonworks schema registry for this.

mythic
  • 535
  • 7
  • 21

1 Answers1

0

Nevermind, I just had to use the schema-registry Rest API to connect to the registry and post my schemas etc

mythic
  • 535
  • 7
  • 21