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

Add 'audience' field to EventType model #350

Closed iav0207 closed 4 years ago

iav0207 commented 4 years ago

Fixes #348 by adding new field: EventType.audience

This solves the issue that clients cannot update event types having this field set because it does not get marshalled and Nakadi responds with an error, as recently Nakadi API began disallow setting audience to null once it has been specified.

Updated the unmarshalling unit tests.