You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/07/22 16:40:43 UTC

[GitHub] [nifi] cshannon commented on pull request #5237: NIFI-8936 Added dynamic http header support to Confluent Schema Registry

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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org