Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
There is some old cruft code at
try {
// doesn't exist in old version of Kafka client so detect
// and only call the method if
// the field/config actually exists
Field f = ProducerConfig.class.getDeclaredField("PARTITIONER_CLASS_CONFIG");
if (f != null)
} catch (NoSuchFieldException e)
{ // ignore } catch (SecurityException e) { // ignore }