DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
. . . public static final String CUSTOM_EXCEPTION_HANDLER_CLASS_CONFIG = "custom.exception.handler"; private static final String CUSTOM_EXCEPTION_HANDLER_CLASS_DOC = "Exception handling class that implements the <code>org.apache.kafka.common.errors.ProducerExceptionHandler</code> interface.";. public static final String DROP_INVALID_LARGE_RECORDS_CONFIG = "drop.invalid.large.records"; private static final String DROP_INVALID_LARGE_RECORDS_DOC = "Exception handling class that implements the <code>org.apache.kafka.common.errors.ProducerExceptionHandler</code> interface.";.When set to 'true', records larger than <code>" + MAX_REQUEST_SIZE_CONFIG + "</code> are dropped." public static final String RETRY_UNKNOWN_TOPIC_PARTITION_CONFIG = "retry.unknown.topic.partition"; private static final String RETRY_UNKNOWN_TOPIC_PARTITION_DOC = "Exception handling class that implements the <code>org.apache.kafka.common.errors.ProducerExceptionHandler</code> interfaceWhen set to 'false', retry is not done by producer when encountering UnknownTopicOrPartiitonException. Otherwise, it retries for <code>" + MAX_BLOCK_MS_CONFIG + "</code> ms.";. . . . static { CONFIG = new ConfigDef().define( ..... . . . .define(CUSTOM_EXCEPTION_HANDLER_CLASS_CONFIG, Type.CLASS, null, Importance.MEDIUM, CUSTOM_EXCEPTION_HANDLER_CLASS_DOC) .define(DROP_INVALID_LARGE_RECORDS_CONFIG, Type.CLASSBOOLEAN, false, Importance.MEDIUM, DROP_INVALID_LARGE_RECORDS_DOC) .define(RETRY_UNKNOWN_TOPIC_PARTITION_CONFIG, Type.CLASSBOOLEAN, true, Importance.MEDIUM, RETRY_UNKNOWN_TOPIC_PARTITION_DOC); } |
...