THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Therefore, the producer should add configuration flag 'metadata.evictionmax.periodidle.ms
' (default: 5 minutes) to control topic eviction.
...
Adds producer configuration flag metadata.evictionmax.periodidle.ms (default: 5 minutes)
to control topic eviction duration.
Code Block | ||
---|---|---|
| ||
/** <code>metadata.evictionmax.periodidle.ms</code> */ public static final String METADATA_EVICTIONMAX_PERIOD_MSIDLE_CONFIG = "metadata.evictionmax.periodidle.ms"; private static final String METADATA_EVICTIONMAX_PERIOD_MSIDLE_DOC = "Controls how long the producer will cache metadata for a topic that's idle. notIf beingthe accessed.elapsed " + "If the elapsed time since a topic was last produceproduced to exceeds the metadata evictionidle duration, then the topic's " + "thenmetadata theis topic'sremoved metadatafrom isthe forgottencache and the next access to it will force a metadata " + "fetch request."; ... .define(METADATA_EVICTIONMAX_PERIOD_MSIDLE_CONFIG, Type.LONG, 5 * 60 * 1000, atLeast(5000), Importance.LOW, METADATA_EVICTIONMAX_PERIOD_MSIDLE_DOC) |
Compatibility, Deprecation, and Migration Plan
...