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
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda.adoc
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,11 +59,13 @@ input:
59
59
rack_id: ""
60
60
start_from_oldest: true
61
61
fetch_max_bytes: 50MiB
62
+
fetch_max_wait: 5s
62
63
fetch_min_bytes: 1B
63
64
fetch_max_partition_bytes: 1MiB
64
65
consumer_group: "" # No default (optional)
65
66
commit_period: 5s
66
67
partition_buffer_bytes: 1MB
68
+
topic_lag_refresh_period: 5s
67
69
auto_replay_nacks: true
68
70
```
69
71
@@ -120,6 +122,10 @@ Records are processed and delivered from each partition in the same batches as t
120
122
121
123
You can break batches down further using the xref:components:processors/split.adoc[`split`] processor.
122
124
125
+
== Metrics
126
+
127
+
This input emits a `redpanda_lag` metric with `topic` and `partition` labels for each consumed topic. The metric records the number of produced messages that remain to be read from each topic/partition pair by the specified consumer group.
128
+
123
129
== Metadata
124
130
125
131
This input adds the following metadata fields to each message:
@@ -128,6 +134,7 @@ This input adds the following metadata fields to each message:
128
134
- `kafka_topic`
129
135
- `kafka_partition`
130
136
- `kafka_offset`
137
+
- `kafka_lag`
131
138
- `kafka_timestamp_ms`
132
139
- `kafka_timestamp_unix`
133
140
- `kafka_tombstone_message`
@@ -460,7 +467,7 @@ endif::[]
460
467
461
468
=== `sasl[].aws.credentials.role`
462
469
463
-
he role ARN to assume.
470
+
The role ARN to assume.
464
471
465
472
466
473
*Type*: `string`
@@ -556,6 +563,14 @@ If individual records are larger than the `fetch_max_bytes` value, brokers will
556
563
557
564
*Default*: `50MiB`
558
565
566
+
=== `fetch_max_wait`
567
+
568
+
The maximum period of time a broker can wait for a fetch response to reach the required minimum number of bytes (`fetch_min_bytes`).
569
+
570
+
*Type*: `string`
571
+
572
+
*Default*: `5s`
573
+
559
574
=== `fetch_min_bytes`
560
575
561
576
The minimum number of bytes that a broker tries to send during a fetch. This field is equivalent to the Java setting `fetch.min.bytes`.
@@ -604,6 +619,14 @@ Each buffer can grow slightly beyond this value.
604
619
605
620
*Default*: `1MB`
606
621
622
+
=== `topic_lag_refresh_period`
623
+
624
+
The interval between refresh cycles. During each cycle, this input queries the Repanda Connect server to calculate the topic lag - the number of produced messages that remain to be read from each topic/partition pair by the specified consumer group.
625
+
626
+
*Type*: `string`
627
+
628
+
*Default*: `5s`
629
+
607
630
=== `auto_replay_nacks`
608
631
609
632
Whether to automatically replay messages that are rejected (nacked) at the output level. If the cause of rejections is persistent, leaving this option enabled can result in back pressure.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda_common.adoc
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,13 @@ input:
48
48
rack_id: ""
49
49
start_from_oldest: true
50
50
fetch_max_bytes: 50MiB
51
+
fetch_max_wait: 5s
51
52
fetch_min_bytes: 1B
52
53
fetch_max_partition_bytes: 1MiB
53
54
consumer_group: "" # No default (optional)
54
55
commit_period: 5s
55
56
partition_buffer_bytes: 1MB
57
+
topic_lag_refresh_period: 5s
56
58
auto_replay_nacks: true
57
59
```
58
60
@@ -135,6 +137,10 @@ Records are processed and delivered from each partition in the same batches as t
135
137
136
138
You can break batches down further using the xref:components:processors/split.adoc[`split`] processor.
137
139
140
+
== Metrics
141
+
142
+
This input emits a `redpanda_lag` metric with `topic` and `partition` labels for each consumed topic. The metric records the number of produced messages that remain to be read from each topic/partition pair by the specified consumer group.
143
+
138
144
== Metadata
139
145
140
146
This input adds the following metadata fields to each message:
@@ -143,6 +149,7 @@ This input adds the following metadata fields to each message:
143
149
- `kafka_topic`
144
150
- `kafka_partition`
145
151
- `kafka_offset`
152
+
- `kafka_lag`
146
153
- `kafka_timestamp_ms`
147
154
- `kafka_timestamp_unix`
148
155
- `kafka_tombstone_message`
@@ -222,6 +229,14 @@ If individual records are larger than the `fetch_max_bytes` value, brokers will
222
229
223
230
*Default*: `50MiB`
224
231
232
+
=== `fetch_max_wait`
233
+
234
+
The maximum period of time a broker can wait for a fetch response to reach the required minimum number of bytes (`fetch_min_bytes`).
235
+
236
+
*Type*: `string`
237
+
238
+
*Default*: `5s`
239
+
225
240
=== `fetch_min_bytes`
226
241
227
242
The minimum number of bytes that a broker tries to send during a fetch. This field is equivalent to the Java setting `fetch.min.bytes`.
@@ -271,6 +286,14 @@ Each buffer can grow slightly beyond this value.
271
286
272
287
*Default*: `1MB`
273
288
289
+
=== `topic_lag_refresh_period`
290
+
291
+
The interval between refresh cycles. During each cycle, this input queries the Repanda Connect server to calculate the topic lag - the number of produced messages that remain to be read from each topic/partition pair by the specified consumer group.
292
+
293
+
*Type*: `string`
294
+
295
+
*Default*: `5s`
296
+
274
297
=== `auto_replay_nacks`
275
298
276
299
Whether to automatically replay messages that are rejected (nacked) at the output level. If the cause of rejections is persistent, leaving this option enabled can result in back pressure.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda_migrator.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ Specify a consumer group for this input to consume one or more topics and automa
90
90
91
91
== Metrics
92
92
93
-
This input emits a `input_redpanda_migrator_lag` metric with `topic` and `partition` labels for each consumed topic.
93
+
This input emits an `input_redpanda_migrator_lag` metric with `topic` and `partition` labels for each consumed topic. The metric records the number of produced messages that remain to be read from each topic/partition pair by the specified consumer group.
0 commit comments