Skip to content

Commit

Permalink
Document configure only should be called once
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir authored Jun 9, 2021
1 parent d88aaef commit 9646920
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ public Deserializer<T> deserializer() {
return inner.deserializer();
}

/**
* WARNING: Only call this method once as only first call is used.
*/
@Override
public void configure(final Map<String, ?> serdeConfig, final boolean isSerdeForRecordKeys) {
inner.serializer().configure(serdeConfig, isSerdeForRecordKeys);
Expand Down

0 comments on commit 9646920

Please sign in to comment.