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/kafka_franz.adoc
+40-6Lines changed: 40 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,14 +56,16 @@ input:
56
56
client_certs: [] # No default (optional)
57
57
sasl: [] # No default (optional)
58
58
metadata_max_age: 5m
59
+
request_timeout_overhead: 10s
60
+
conn_idle_timeout: 20s
59
61
topics: [] # No default (required)
60
62
regexp_topics: false
61
63
rack_id: "" # No default (optional)
62
64
instance_id: "" No default (optional)
63
65
rebalance_timeout: 45s
64
66
session_timeout: 1m
65
67
heartbeat_interval: 3s
66
-
start_from_oldest: true
68
+
start_offset: earliest
67
69
fetch_max_bytes: 50MiB
68
70
fetch_max_wait: 5s
69
71
fetch_min_bytes: 1B
@@ -477,6 +479,22 @@ The maximum period of time after which metadata is refreshed.
477
479
478
480
*Default*: `5m`
479
481
482
+
=== `request_timeout_overhead`
483
+
484
+
Grants an additional buffer or overhead to requests that have timeout fields defined. This field is based on the behavior of Apache Kafka's `request.timeout.ms` parameter.
485
+
486
+
*Type*: `string`
487
+
488
+
*Default*: `10s`
489
+
490
+
=== `conn_idle_timeout`
491
+
492
+
Define how long connections can remain idle before they are closed.
493
+
494
+
*Type*: `string`
495
+
496
+
*Default*: `20s`
497
+
480
498
=== `topics`
481
499
482
500
A list of topics to consume from. Use commas to separate multiple topics in a single element.
@@ -485,7 +503,7 @@ When a `consumer_group` is specified, partitions are automatically distributed a
485
503
486
504
Alternatively, you can specify explicit partitions to consume by using a colon after the topic name. For example, `foo:0` would consume the partition `0` of the topic foo. This syntax supports ranges. For example, `foo:0-10` would consume partitions `0` through to `10` inclusive.
487
505
488
-
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_from_oldest` determines which offset to start from.
506
+
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_offset` determines which offset to start from.
489
507
490
508
*Type*: `array`
491
509
@@ -581,13 +599,29 @@ client
581
599
582
600
*Default*: `3s`
583
601
584
-
=== `start_from_oldest`
602
+
=== `start_offset`
585
603
586
-
Whether to consume from the oldest available offset. Otherwise, messages are consumed from the latest offset. This setting is applied when creating a new consumer group or the saved offset no longer exists.
604
+
Specify the offset from which this input starts or restarts consuming messages. Restarts occur when the `OffsetOutOfRange` error is seen during a fetch.
587
605
588
-
*Type*: `bool`
606
+
*Type*: `string`
607
+
608
+
*Default*: `earliest`
609
+
610
+
Options:
611
+
612
+
|===
613
+
| Option | Description
614
+
615
+
| `earliest` (default)
616
+
| Start from the earliest offset. This option is equivalent to Kafka's `auto.offset.reset=earliest`.
617
+
618
+
| `committed`
619
+
| Start from the earliest committed offset, which prevents message consumption from a partition in a consumer group that has no prior commits. This option is equivalent to Kafka's `auto.offset.reset=none`.
620
+
621
+
| `latest`
622
+
| Start from the latest offset. This option is equivalent to Kafka's `auto.offset.reset=latest`.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/ockam_kafka.adoc
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ input:
67
67
rebalance_timeout: 45s
68
68
session_timeout: 1m
69
69
heartbeat_interval: 3s
70
-
start_from_oldest: true
70
+
start_offset: earliest
71
71
fetch_max_bytes: 50MiB
72
72
fetch_max_wait: 5s
73
73
fetch_min_bytes: 1B
@@ -261,7 +261,7 @@ If you specify a `consumer_group`, partitions are automatically distributed acro
261
261
262
262
Alternatively, add a colon after the topic name to set the explicit partitions to consume. For example, `foo:0` consumes the partition `0` of the topic `foo`. This syntax also supports ranges. For example, `foo:0-10` consumes all partitions from `0` through to `10` inclusively.
263
263
264
-
Finally, add another colon after the partition to set an explicit offset to consume from. For example, `foo:0:10` consumes the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_from_oldest` determines which offset to start from.
264
+
Finally, add another colon after the partition to set an explicit offset to consume from. For example, `foo:0:10` consumes the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_offset` determines which offset to start from.
265
265
266
266
*Type*: `array`
267
267
@@ -356,13 +356,28 @@ client
356
356
357
357
*Default*: `3s`
358
358
359
-
=== `kafka.start_from_oldest`
359
+
=== `kafka.start_offset`
360
360
361
-
Whether to consume from the oldest available offset. Otherwise, messages are consumed from the latest offset. This setting is applied when creating a new consumer group or the saved offset no longer exists.
361
+
Specify the offset from which this input starts or restarts consuming messages. Restarts occur when the `OffsetOutOfRange` error is seen during a fetch.
362
362
363
-
*Type*: `bool`
363
+
*Type*: `string`
364
+
365
+
*Default*: `earliest`
366
+
367
+
Options:
368
+
369
+
|===
370
+
| Option | Description
371
+
372
+
| `earliest` (default)
373
+
| Start from the earliest offset. This option is equivalent to Kafka's `auto.offset.reset=earliest`.
364
374
365
-
*Default*: `true`
375
+
| `committed`
376
+
| Start from the earliest committed offset, which prevents message consumption from a partition in a consumer group that has no prior commits. This option is equivalent to Kafka's `auto.offset.reset=none`.
377
+
378
+
| `latest`
379
+
| Start from the latest offset. This option is equivalent to Kafka's `auto.offset.reset=latest`.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda.adoc
+40-7Lines changed: 40 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Advanced::
39
39
--
40
40
41
41
```yml
42
-
# All config fields, showing default values
42
+
# All configuration fields, showing default values
43
43
input:
44
44
label: "" # No default (optional)
45
45
redpanda:
@@ -54,14 +54,16 @@ input:
54
54
client_certs: [] # No default (optional)
55
55
sasl: [] # No default (optional)
56
56
metadata_max_age: 5m
57
+
request_timeout_overhead: 10s
58
+
conn_idle_timeout: 20s
57
59
topics: [] # No default (required)
58
60
regexp_topics: false
59
61
rack_id: "" # No default (optional)
60
62
instance_id: "" # No default (optional)
61
63
rebalance_timeout: 45s
62
64
session_timeout: 1m
63
65
heartbeat_interval: 3s
64
-
start_from_oldest: true
66
+
start_offset: earliest
65
67
fetch_max_bytes: 50MiB
66
68
fetch_max_wait: 5s
67
69
fetch_min_bytes: 1B
@@ -495,6 +497,22 @@ The maximum period of time after which metadata is refreshed.
495
497
496
498
*Default*: `5m`
497
499
500
+
=== `request_timeout_overhead`
501
+
502
+
Grants an additional buffer or overhead to requests that have timeout fields defined. This field is based on the behavior of Apache Kafka's `request.timeout.ms` parameter.
503
+
504
+
*Type*: `string`
505
+
506
+
*Default*: `10s`
507
+
508
+
=== `conn_idle_timeout`
509
+
510
+
Define how long connections can remain idle before they are closed.
511
+
512
+
*Type*: `string`
513
+
514
+
*Default*: `20s`
515
+
498
516
=== `topics`
499
517
500
518
A list of topics to consume from. Use commas to separate multiple topics in a single element.
@@ -503,7 +521,7 @@ When a `consumer_group` is specified, partitions are automatically distributed a
503
521
504
522
Alternatively, you can specify explicit partitions to consume by using a colon after the topic name. For example, `foo:0` would consume the partition `0` of the topic foo. This syntax supports ranges. For example, `foo:0-10` would consume partitions `0` through to `10` inclusive.
505
523
506
-
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_from_oldest` determines which offset to start from.
524
+
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_offset` determines which offset to start from.
507
525
508
526
509
527
*Type*: `array`
@@ -599,13 +617,28 @@ client
599
617
600
618
*Default*: `3s`
601
619
602
-
=== `start_from_oldest`
620
+
=== `start_offset`
603
621
604
-
Determines whether to consume from the oldest available offset. Otherwise, messages are consumed from the latest offset. This setting is applied when creating a new consumer group or the saved offset no longer exists.
622
+
Specify the offset from which this input starts or restarts consuming messages. Restarts occur when the `OffsetOutOfRange` error is seen during a fetch.
605
623
606
-
*Type*: `bool`
624
+
*Type*: `string`
607
625
608
-
*Default*: `true`
626
+
*Default*: `earliest`
627
+
628
+
Options:
629
+
630
+
|===
631
+
| Option | Description
632
+
633
+
| `earliest` (default)
634
+
| Start from the earliest offset. This option is equivalent to Kafka's `auto.offset.reset=earliest`.
635
+
636
+
| `committed`
637
+
| Start from the earliest committed offset, which prevents message consumption from a partition in a consumer group that has no prior commits. This option is equivalent to Kafka's `auto.offset.reset=none`.
638
+
639
+
| `latest`
640
+
| Start from the latest offset. This option is equivalent to Kafka's `auto.offset.reset=latest`.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda_common.adoc
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ input:
51
51
rebalance_timeout: 45s
52
52
session_timeout: 1m
53
53
heartbeat_interval: 3s
54
-
start_from_oldest: true
54
+
start_offset: earliest
55
55
fetch_max_bytes: 50MiB
56
56
fetch_max_wait: 5s
57
57
fetch_min_bytes: 1B
@@ -171,7 +171,7 @@ When a `consumer_group` is specified, partitions are automatically distributed a
171
171
172
172
Alternatively, you can specify explicit partitions to consume by using a colon after the topic name. For example, `foo:0` would consume the partition `0` of the topic foo. This syntax supports ranges. For example, `foo:0-10` would consume partitions `0` through to `10` inclusive.
173
173
174
-
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_from_oldest` determines which offset to start from.
174
+
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_offset` determines which offset to start from.
175
175
176
176
*Type*: `array`
177
177
@@ -266,13 +266,28 @@ client
266
266
267
267
*Default*: `3s`
268
268
269
-
=== `start_from_oldest`
269
+
=== `start_offset`
270
270
271
-
Whether to consume from the oldest available offset. Otherwise, messages are consumed from the latest offset. This setting is applied when creating a new consumer group or the saved offset no longer exists.
271
+
Specify the offset from which this input starts or restarts consuming messages. Restarts occur when the `OffsetOutOfRange` error is seen during a fetch.
272
272
273
-
*Type*: `bool`
273
+
*Type*: `string`
274
274
275
-
*Default*: `true`
275
+
*Default*: `earliest`
276
+
277
+
Options:
278
+
279
+
|===
280
+
| Option | Description
281
+
282
+
| `earliest` (default)
283
+
| Start from the earliest offset. This option is equivalent to Kafka's `auto.offset.reset=earliest`.
284
+
285
+
| `committed`
286
+
| Start from the earliest committed offset, which prevents message consumption from a partition in a consumer group that has no prior commits. This option is equivalent to Kafka's `auto.offset.reset=none`.
287
+
288
+
| `latest`
289
+
| Start from the latest offset. This option is equivalent to Kafka's `auto.offset.reset=latest`.
Copy file name to clipboardExpand all lines: modules/components/pages/inputs/redpanda_migrator.adoc
+38-6Lines changed: 38 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ input:
63
63
rebalance_timeout: 45s
64
64
session_timeout: 1m
65
65
heartbeat_interval: 3s
66
-
start_from_oldest: true
66
+
start_offset: earliest
67
67
fetch_max_bytes: 50MiB
68
68
fetch_max_wait: 5s
69
69
fetch_min_bytes: 1B
@@ -72,6 +72,8 @@ input:
72
72
consumer_group: "" # No default (optional)
73
73
commit_period: 5s
74
74
metadata_max_age: 5m
75
+
request_timeout_overhead: 10s
76
+
conn_idle_timeout: 20s
75
77
partition_buffer_bytes: 1MB
76
78
auto_replay_nacks: true
77
79
topic_lag_refresh_period: 5s
@@ -478,7 +480,7 @@ When a `consumer_group` is specified, partitions are automatically distributed a
478
480
479
481
Alternatively, you can specify explicit partitions to consume by using a colon after the topic name. For example, `foo:0` would consume the partition `0` of the topic foo. This syntax supports ranges. For example, `foo:0-10` would consume partitions `0` through to `10` inclusive.
480
482
481
-
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_from_oldest` determines which offset to start from.
483
+
It is also possible to specify an explicit offset to consume from by adding another colon after the partition. For example, `foo:0:10` would consume the partition `0` of the topic `foo` starting from the offset `10`. If the offset is not present (or remains unspecified) then the field `start_offset` determines which offset to start from.
482
484
483
485
484
486
*Type*: `array`
@@ -576,14 +578,28 @@ client
576
578
577
579
*Default*: `3s`
578
580
579
-
=== `start_from_oldest`
581
+
=== `start_offset`
580
582
581
-
Determines whether to consume from the oldest available offset, otherwise messages are consumed from the latest offset. This setting is applied when creating a new consumer group or the saved offset no longer exists.
583
+
Specify the offset from which this input starts or restarts consuming messages. Restarts occur when the `OffsetOutOfRange` error is seen during a fetch.
582
584
585
+
*Type*: `string`
583
586
584
-
*Type*: `bool`
587
+
*Default*: `earliest`
585
588
586
-
*Default*: `true`
589
+
Options:
590
+
591
+
|===
592
+
| Option | Description
593
+
594
+
| `earliest` (default)
595
+
| Start from the earliest offset. This option is equivalent to Kafka's `auto.offset.reset=earliest`.
596
+
597
+
| `committed`
598
+
| Start from the earliest committed offset, which prevents message consumption from a partition in a consumer group that has no prior commits. This option is equivalent to Kafka's `auto.offset.reset=none`.
599
+
600
+
| `latest`
601
+
| Start from the latest offset. This option is equivalent to Kafka's `auto.offset.reset=latest`.
602
+
|===
587
603
588
604
=== `fetch_max_bytes`
589
605
@@ -666,6 +682,22 @@ The maximum period of time after which metadata is refreshed. Reducing this valu
666
682
667
683
*Default*: `5m`
668
684
685
+
=== `request_timeout_overhead`
686
+
687
+
Grants an additional buffer or overhead to requests that have timeout fields defined. This field is based on the behavior of Apache Kafka's `request.timeout.ms` parameter.
688
+
689
+
*Type*: `string`
690
+
691
+
*Default*: `10s`
692
+
693
+
=== `conn_idle_timeout`
694
+
695
+
Define how long connections can remain idle before they are closed.
696
+
697
+
*Type*: `string`
698
+
699
+
*Default*: `20s`
700
+
669
701
=== `partition_buffer_bytes`
670
702
671
703
A buffer size (in bytes) for each consumed partition, which allows the internal queuing of records before they are flushed. Increasing this value may improve throughput but results in higher memory utilization.
Copy file name to clipboardExpand all lines: modules/components/pages/outputs/kafka_franz.adoc
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,8 @@ output:
84
84
client_certs: []
85
85
sasl: [] # No default (optional)
86
86
metadata_max_age: 5m
87
+
request_timeout_overhead: 10s
88
+
conn_idle_timeout: 20s
87
89
timestamp_ms: ${! timestamp_unix_milli() } # No default (optional)
88
90
```
89
91
@@ -718,6 +720,22 @@ The maximum period of time after which metadata is refreshed.
718
720
719
721
*Default*: `5m`
720
722
723
+
=== `request_timeout_overhead`
724
+
725
+
Grants an additional buffer or overhead to requests that have timeout fields defined. This field is based on the behavior of Apache Kafka's `request.timeout.ms` parameter, but with the option to extend the timeout deadline.
726
+
727
+
*Type*: `string`
728
+
729
+
*Default*: `10s`
730
+
731
+
=== `conn_idle_timeout`
732
+
733
+
Define how long connections can remain idle before they are closed.
0 commit comments