kafka/connect
John Roesler cc43e77bbb MINOR: make Sensor#add idempotent (#4853)
This change makes adding a metric to a sensor idempotent.
That is, if the metric is already added to the sensor, the method
returns with success.

The current behavior is that any attempt to register a second metric
with the same name is an error.

Testing strategy: There is a new unit test covering this behavior

Reviewers: Guozhang Wang <guozhang@confluent.io>, Bill Bejeck <bill@confluent.io>
2018-04-11 20:50:10 -07:00
..
api MINOR: Remove magic number and extract Pattern instance from method as class field (#4799) 2018-04-08 11:54:22 -07:00
file/src MINOR: Fix bug introduced by adding batch.size without default in FileStreamSourceConnector (#4579) 2018-02-16 18:30:12 -08:00
json KAFKA-5996; JsonConverter generates Mismatching schema DataException (#4523) 2018-02-14 08:46:22 -08:00
runtime/src MINOR: make Sensor#add idempotent (#4853) 2018-04-11 20:50:10 -07:00
transforms/src