cshannon commented on pull request #5237: URL: https://github.com/apache/nifi/pull/5237#issuecomment-885055987
@pvillard31 - I work with @TheKnowles and I can comment on your question. One primary use case is authentication/authorization but it is also useful for adding any standard HTTP headers as as the Schema Registry just runs on a Jetty server. Lots of standard headers can be useful to add (authentication, compression, etc) plus it's easy to add in custom logic (such as using a servlet filter) to read custom headers. There's an example here for the authorization header in their code: See: https://github.com/confluentinc/schema-registry/blob/v6.2.0/avro-serializer/src/main/java/io/confluent/kafka/serializers/AbstractKafkaAvroSerDeConfig.java#L38 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
