Skip to content

Commit b0d293a

Browse files
authored
Merge pull request MaterializeInc#3377 from nacrooks/docts
Documentation for ts_* options
2 parents 5d70a45 + 976ccdf commit b0d293a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/user/layouts/partials/create-source/connector/kafka/with-options.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
`security_protocol` | `text` | Use either [`ssl`](#ssl-with-options) or [`sasl_plaintext` (Kerberos)](#kerberos-with-options) to connect to the Kafka cluster.
44
`statistics_interval_ms` | `int` | `librdkafka` statistics emit interval in `ms`. Accepts values [0, 86400000]. The granularity is 1000ms. A value of 0 disables statistics.
55
`ignore_source_keys` | `bool` | Default: `false`. If `true`, do not perform optimizations assuming uniqueness of primary keys in schemas.
6+
`timestamp_frequency_ms`| `int` | Default: `1000`. Sets the timestamping frequency in `ms`. Reflects how frequently timestamps advance in the system. This measure reflects how stale data in views will be. Lower values result in more-up-to-date views but may reduce throughput.
7+
`max_timestamp_batch_size` | `int` | Default: `0`. Bounds the maximum number of messages that can be assigned to the same batch. A value of 0 creates no upper bound.
8+
`topic_metadata_refresh_interval_ms` | `int` | Default: `30000`. Sets the frequency in `ms` at which the system checks for new partitions. Accepts values [0,3600000].
69

710
#### SSL `WITH` options
811

src/dataflow/src/source/kafka.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ where
924924
// Default value obtained from https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md
925925
let metadata_refresh_frequency = Duration::from_millis(
926926
config_options
927-
.get("topic.metadata.refresh.interval.ms")
927+
.get("topic_metadata_refresh_interval_ms")
928928
// Safe conversion: statement::extract_config enforces that option is a value
929929
// between 0 and 3600000
930930
.unwrap_or(&"30000".to_owned())

0 commit comments

Comments
 (0)