You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticfinalStringSTREAM_NAME_FORMAT_DOC = "A format string for the destination stream name, which may contain '${topic}' as a " + "placeholder for the originating topic name.\n" + "For example, ``kafka_${topic}`` for the topic 'orders' will map to the stream name " + "'kafka_orders'.";
32
+
publicstaticfinalStringSTREAM_NAME_FORMAT_DISPLAY = "Stream Name Format";
privatestaticfinalStringSTREAM_COUNT_DISPLAY = "The maximum batch size";
48
-
privatestaticfinalStringSTREAM_COUNT_DOC = "Maximum number of stream messages to include in a single read when polling for new data (XREAD [COUNT count]). This setting can be used to limit the amount of data buffered internally in the connector.";
46
+
publicstaticfinallongSTREAM_COUNT_DEFAULT = 50;
47
+
publicstaticfinalStringSTREAM_COUNT_DISPLAY = "The maximum batch size";
48
+
publicstaticfinalStringSTREAM_COUNT_DOC = "Maximum number of stream messages to include in a single read when polling for new data (XREAD [COUNT count]). This setting can be used to limit the amount of data buffered internally in the connector.";
privatestaticfinalStringSTREAM_BLOCK_DOC = "The max amount of time in milliseconds to wait while polling for stream messages (XREAD [BLOCK milliseconds])";
publicstaticfinalStringSTREAM_BLOCK_DOC = "The max amount of time in milliseconds to wait while polling for stream messages (XREAD [BLOCK milliseconds])";
privatestaticfinalStringTOPIC_NAME_FORMAT_DOC = "A format string for the destination topic name, which may contain '${stream}' as a " + "placeholder for the originating topic name.\n" + "For example, ``redis_${stream}`` for the stream 'orders' will map to the topic name " + "'redis_orders'.";
58
-
privatestaticfinalStringTOPIC_NAME_FORMAT_DISPLAY = "Topic Name Format";
publicstaticfinalStringTOPIC_NAME_FORMAT_DOC = "A format string for the destination topic name, which may contain '${stream}' as a " + "placeholder for the originating topic name.\n" + "For example, ``redis_${stream}`` for the stream 'orders' will map to the topic name " + "'redis_orders'.";
58
+
publicstaticfinalStringTOPIC_NAME_FORMAT_DISPLAY = "Topic Name Format";
59
59
60
60
61
61
@Getter
@@ -74,8 +74,8 @@ public String getStreamOffset() {
74
74
returngetString(STREAM_OFFSET);
75
75
}
76
76
77
-
publicintgetStreamCount() {
78
-
returngetInt(STREAM_COUNT);
77
+
publiclonggetStreamCount() {
78
+
returngetLong(STREAM_COUNT);
79
79
}
80
80
81
81
publiclonggetStreamBlock() {
@@ -86,26 +86,26 @@ public String getTopicNameFormat() {
0 commit comments