Explain that 'client.id' is just used as a prefix within Streams
Added new String CLIENT_ID_DOC in StreamsConfig for explanation
Author: Pranav Maniar
Reviewers: Matthias J. Sax Damian Guy
Closes from PranavManiar/trunk
@@ -146,6 +146,8 @@ public class StreamsConfig extends AbstractConfig {
/** {@code client.id} */
public static final String CLIENT_ID_CONFIG = CommonClientConfigs.CLIENT_ID_CONFIG;
+ private static final String CLIENT_ID_DOC = "An ID prefix string used for the client IDs of internal consumer, producer and restore-consumer," +
+ " with pattern '<client.id>-StreamThread-<threadSequenceNumber>-<consumer|producer|restore-consumer>'.";
/** {@code commit.interval.ms} */
public static final String COMMIT_INTERVAL_MS_CONFIG = "commit.interval.ms";
@@ -319,7 +321,7 @@ public class StreamsConfig extends AbstractConfig {
Type.STRING,
"",
Importance.MEDIUM,
- CommonClientConfigs.CLIENT_ID_DOC)
+ CLIENT_ID_DOC)
.define(DEFAULT_DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIG,
Type.CLASS,
LogAndFailExceptionHandler.class.getName(),
