llofberg / kafka-connect-rest

Kafka Connect REST connector
Apache License 2.0
108 stars 55 forks source link

Make objects immutable where possible #19

Closed amilbourne closed 5 years ago

amilbourne commented 5 years ago

This is a somewhat opinionated PR so feel free to decline it if you disagree (or tell me which bits you do and don't like). Making the value objects immutable makes them easier to understand IMHO. However, none of these changes is all that significant and none should change the behaviour of the code.