dehora / nakadi-java

🌀 Client library for the Nakadi Event Broker (examples: http://bit.ly/njc-examples, site: https://dehora.github.io/nakadi-java/)
MIT License
30 stars 19 forks source link

Use convenience methods in place of header keys and values #382

Closed dehora closed 1 year ago

dehora commented 2 years ago

This will let us expose the content type value in the context of the requesting method, instead of a fixed value inside the optionsWithJsonContent helper method. In turn that will set us up to be able to change the content type to something other than application/json.