Skip to content

Flexible Configuration System

ItdaStream provides a layered configuration system with multiple override levels for deployment flexibility. This page is the complete reference for every configuration property, organized to mirror the sections of the shipped itdastream.properties file.

Configuration Precedence

Every property is resolved using the following precedence, from highest to lowest:

  1. System properties — -Ditdastream.* JVM arguments
  2. Environment variables — ITDASTREAM_*
  3. Properties file — itdastream.properties (under conf/)
  4. Built-in defaults

A higher level overrides a lower one for the same key. This lets you keep a base itdastream.properties in version control, layer per-environment overrides through environment variables (handy for containers), and apply last-minute or per-process tweaks with -D JVM flags.

Environment Variable Naming Convention

Any itdastream.* property can also be supplied as an environment variable. The convention is:

  • Take the full property key.
  • Uppercase it.
  • Replace each dot (.) with an underscore (_).

For example:

Property Environment variable
itdastream.broker.id ITDASTREAM_BROKER_ID
itdastream.kafka.port ITDASTREAM_KAFKA_PORT
itdastream.storage.s3.bucket.name ITDASTREAM_STORAGE_S3_BUCKET_NAME

Internally, ItdaStream loads every ITDASTREAM_* environment variable, lowercases it, and turns underscores back into dots to reconstruct the property key — so the property keys themselves must use dots (not underscores), which all keys below do.

Placeholder Substitution

Property values support recursive ${...} placeholder substitution that references other properties. Most on-disk path properties default to a subdirectory under itdastream.base.data.dir, for example:

itdastream.base.data.dir=./data
itdastream.metadata.db.path=${itdastream.base.data.dir}/metadata-rocksdb

Changing itdastream.base.data.dir relocates every dependent path at once.


Service Settings (Common)

Property Default Description
itdastream.kafka.port 9092 TCP port on which the broker accepts Kafka wire-protocol connections from producers, consumers, and admin clients. The public, client-facing port.
itdastream.kafka.bind.host 0.0.0.0 Network interface the Kafka listener binds to. 0.0.0.0 binds all interfaces; set a specific IP to restrict it.
itdastream.advertised.host localhost Hostname/IP advertised back to clients in metadata responses so they know where to reconnect. Set to a reachable address behind Docker/NAT/load balancers.
itdastream.cluster.id itdastream-cluster Logical name of the cluster; all brokers in the same logical cluster share this value.
itdastream.broker.id.stateless true When true, the broker derives its numeric ID from hash(localIp:port) on its first start and records it in itdastream.broker.id.file; later starts reuse the recorded ID even if the IP changed (every local store — IAM, KMS, metadata — is keyed by the ID). When false, the fixed itdastream.broker.id is used.
itdastream.broker.id.file ${itdastream.base.data.dir}/broker-id Where a stateless broker records its generated ID. Keep it with the data directory; deleting it makes the next start derive a new ID and stop using the stores of the old one.
itdastream.broker.id 1 Explicit numeric broker ID, used only when itdastream.broker.id.stateless=false. Must be unique across the cluster.
itdastream.base.data.dir ./data Root directory for all local on-disk state. Other path properties default to subdirectories under it. Relative paths resolve against the process working directory.
itdastream.metadata.db.path ${itdastream.base.data.dir}/metadata-rocksdb RocksDB store directory for cluster metadata (topics, partitions, offsets, producer IDs, transaction state). Local to each broker.
itdastream.cleanup.history.path ${itdastream.base.data.dir}/cleanup-history RocksDB store directory recording log-retention cleanup history (which segments were deleted and when) for auditing.
itdastream.kms.db.path ${itdastream.base.data.dir}/kms-rocksdb RocksDB store directory for the cluster KMS (encrypted KEKs/DEKs). Followers overwrite it from the leader's snapshot during bootstrap. Protect this directory.
itdastream.metrics.db.path ${itdastream.base.data.dir}/metrics-rocksdb RocksDB store directory for collected broker/topic metrics time series shown in the Admin UI.
itdastream.metrics.retention.days 7 How many days of metrics history to keep in the metrics store before older points are pruned.
itdastream.nio.port 9000 TCP port for the internal NIO protocol used for broker-to-broker communication (control plane, KMS/IAM sync, internal data forwarding). Not for Kafka clients.

Broker Specific Settings

Property Default Description
itdastream.broker.net.num.acceptors 1 Number of acceptor threads that accept new inbound socket connections on the Kafka listener. 1 suffices for most workloads.
itdastream.broker.net.concurrency 3 Number of processor/selector threads handling network I/O on the client-facing NIO server. Increase for higher connection/throughput parallelism.
itdastream.broker.net.request.queue.size 500 Maximum number of decoded requests buffered between the network layer and the worker handler pool. Acts as backpressure.
itdastream.broker.worker.concurrency 8 Number of worker threads executing request business logic (produce/fetch/admin). The main request-processing parallelism knob.
itdastream.broker.init.timeout.ms 60000 Maximum time (ms) the broker waits during startup for cluster initialization (controller/KMS/IAM sync) before giving up.
itdastream.network.compression.type SNAPPY Compression codec on the internal broker-to-broker protocol. Allowed: SNAPPY or NONE. Does not affect client-side Kafka message compression.
itdastream.topic.auto.create true When true, producing to or fetching from a non-existent topic auto-creates it (using itdastream.topic.default.partitions); when false, topics must be created explicitly.

Storage Engine Settings

Property Default Description
itdastream.storage.engine.type s3 Storage backend for partition log data. s3 is object-storage backed (S3 or any S3-compatible store such as MinIO).
itdastream.storage.write.buffer.bytes 16777216 Size (bytes, 16 MiB) of the in-memory write buffer that accumulates produced records before flushing toward storage.
itdastream.storage.segment.max.size 16777216 Maximum size (bytes, 16 MiB) a log segment accumulates before it is closed and uploaded to S3 as an object.
itdastream.storage.read.cache.max.bytes 268435456 Maximum heap (bytes, 256 MiB) used by the per-broker read cache holding recently read segment data, to serve fetches without re-downloading from S3.
itdastream.storage.s3.flush.timeout.ms 300000 Maximum age (ms, 5 min) before an in-progress segment is flushed/uploaded to S3 even if it has not reached segment.max.size. Measured from the segment's oldest record (not the last append), so a topic receiving a steady trickle is flushed too. Bounds the acks=1 exposure window.
itdastream.storage.write.flush.interval.ms 5000 Interval (ms) at which the in-memory write buffer is flushed downstream regardless of fill level.

Object Storage Backend Settings (S3)

Property Default Description
itdastream.storage.s3.endpoint.url http://localhost:9000 S3 (or S3-compatible) service endpoint URL. For real AWS S3 leave blank/region-derived; for MinIO set the explicit URL.
itdastream.storage.s3.bucket.name itdastream-data Name of the S3 bucket where all partition log segments/objects are stored. Must be writable with the credentials below.
itdastream.storage.s3.region.id us-east-1 S3 region identifier used when building the client and signing requests.
itdastream.storage.s3.access.key.id any-access-key Access key ID for authenticating to the S3 endpoint. Treat as a secret; prefer supplying via environment variable.
itdastream.storage.s3.secret.access.key any-secret-key Secret access key paired with the access key ID. Treat as a secret; prefer an environment variable over committing a real value.
itdastream.storage.s3.prefix (empty) Optional key prefix prepended to every object key, letting multiple clusters/tenants share one bucket. Empty means objects are written at the bucket root.
itdastream.storage.s3.path.style.access true When true, use path-style addressing (http://endpoint/bucket/key). Required for most S3-compatible stores like MinIO; usually false for real AWS S3.
itdastream.storage.s3.staging.path ${itdastream.base.data.dir}/s3-staging Local staging directory for segment objects before/during upload to S3. Needs enough disk to hold in-flight segments.
itdastream.storage.s3.staging.encrypt true When true, data written to the local staging directory is envelope-encrypted at rest before staging, so plaintext is never persisted to local disk.
itdastream.storage.s3.staging.sync true fsync the staging WAL before an acks=1 produce is acknowledged, so it survives a power loss as well as a process crash. Concurrent producers share one fsync. See Durability.
itdastream.produce.acks.all.linger.ms 50 An acks=all produce is acknowledged once its batch is in object storage; this is how long the flush waits to collect more batches for the partition into the same upload.
itdastream.produce.leader.check.enabled true Answer NOT_LEADER_OR_FOLLOWER to a produce for a partition this broker does not lead, so two brokers never write one partition.
itdastream.metadata.storage bucket Where the log's metadata (segment list, committed offsets, topics, schemas, job definitions) is kept. bucket: next to the log, so another cluster can serve the bucket (Disaster Recovery). zookeeper: the previous layout.
itdastream.cluster.mode active standby starts a recovery cluster that serves a replica bucket read-only until it is promoted. Only seeds the cluster-wide mode on the cluster's first start.
itdastream.standby.refresh.interval.ms 5000 How often a standby re-reads its replica for newly replicated topics and segments.

Storage Maintenance Settings

Property Default Description
itdastream.storage.log.retention.ms 604800000 How long (ms, 7 days) partition log data is retained before being eligible for deletion by the cleanup task. -1 (or any value ≤ 0) keeps it forever.
itdastream.storage.cleanup.interval.ms 3600000 How often (ms, 1 hour) the background retention/cleanup task runs to find and delete logs older than the retention window.
itdastream.storage.cleanup.history.retention.ms 15552000000 How long (ms, ~180 days) entries in the cleanup-history store are kept before being purged.

Cluster Coordination Settings (ZooKeeper)

Property Default Description
itdastream.zookeeper.server.list localhost:2181 ZooKeeper connection string for cluster coordination (controller election, broker registration, sync signaling). Comma-separated host:port list.
itdastream.zookeeper.root.path /itdastream Root znode path under which all of this cluster's ZooKeeper nodes are created. Lets multiple clusters share one ensemble.
itdastream.zookeeper.session.timeout.ms 30000 ZooKeeper session timeout (ms): max time without a heartbeat before the session expires and re-election is triggered.
itdastream.zookeeper.connection.timeout.ms 10000 Max time (ms) to wait when establishing the initial TCP connection to ZooKeeper before failing.
itdastream.zookeeper.retry.base.sleep.ms 1000 Initial backoff (ms) between retries in the Curator exponential-backoff retry policy.
itdastream.zookeeper.retry.max.retries 3 Number of times a ZooKeeper operation is retried before giving up.
itdastream.zookeeper.status.probe.timeout.ms 2000 Timeout (ms) for one ZooKeeper server's srvr status probe on the admin console's Cluster Topology page. A server that does not answer in time is shown Down. Keep srvr in the ensemble's 4lw.commands.whitelist (it is there by default) and add conf (then restart that ZooKeeper server — the whitelist is read only at startup) so the page can show each server's id and warn about a duplicate myid.

Security & Key Management Settings

Property Default Description
itdastream.security.kms.type cluster KMS implementation. cluster uses the built-in distributed KMS: key material in the KMS RocksDB store, coordinated across brokers via ZooKeeper (leader holds the authoritative copy).
itdastream.kms.master.key.env ITDASTREAM_MASTER_KEY Name of the OS environment variable that supplies the Master Encryption Key (root secret). The key is read from this env var at startup and is never stored in the file.
itdastream.kms.default.key.id default Identifier of the default encryption key used to envelope-encrypt objects/segments written to S3 (and staging) when no per-resource key is specified.
itdastream.admin.socket.enabled true Whether the broker exposes the local Unix-domain admin recovery socket used by bin/itdastream-cli.sh (ping, iam:reset-password). Authentication is the socket's mode 600; it is never exposed on the network. See Admin Password Recovery.
itdastream.admin.socket.path ${itdastream.base.data.dir}/admin.sock Filesystem path of the recovery socket. Must be on a local filesystem that supports Unix domain sockets. Recreated on every broker start.
itdastream.admin.socket.marker.file broker.socket Name of the file under <itdastream.home>/bin where the broker writes the socket path it actually bound to; bin/itdastream-cli.sh prefers it over re-deriving the path from this file. Removed on shutdown.
itdastream.iam.audit.dir ${itdastream.base.data.dir}/iam-audit Directory holding the append-only audit log of admin-socket operations (reset.log, mode 600).
itdastream.admin.socket.forward.timeout.ms 15000 How long a follower waits for the leader to apply a CLI password reset it forwarded. On timeout the CLI exits 1 and says the password was NOT changed; the leader discards a forwarded reset that reaches it after a third of this.
itdastream.sasl.enabled false When true, enable SASL authentication for Kafka clients — PLAIN always, and OAUTHBEARER as well while an identity provider is configured (see Single Sign-On). When false, the listener is unauthenticated. Combine with itdastream.ssl.enabled for SASL_SSL.
itdastream.ssl.enabled false When true, wrap the Kafka listener in TLS (clients use security.protocol=SSL, or SASL_SSL when combined with SASL). Requires the keystore properties below.
itdastream.ssl.protocol TLSv1.3 TLS protocol version for the SSL listener (e.g. TLSv1.3, TLSv1.2). Only takes effect when itdastream.ssl.enabled=true.

Authentication — Password Storage

Property Default Description
itdastream.auth.password.hash.iterations 600000 PBKDF2-HMAC-SHA256 iterations used when a local password is written. Passwords used to be kept as the plaintext itself; stored plaintext still verifies and is rewritten on its owner's next successful login, so nobody is locked out. The count travels with each stored hash, so raising this does not invalidate existing passwords.

Single Sign-On (OIDC / SAML / LDAP)

Every setting below can also be managed from the admin console under Single Sign-On, which stores it with the IAM state and applies it on every broker with no restart. Stored settings win over this file: the file brings a cluster up, and the console is how it is changed afterwards — if the file won, a console change would be reverted by the next restart, silently. See Single Sign-On.

Identity mapping (all three providers)

Property Default Description
itdastream.sso.group.mappings (empty) idpGroup:localGroup pairs, comma-separated. Empty means provider group names are used as they are. Once set the mapping is exhaustive — a group not named here is dropped, so creating a group at the provider cannot grant access on this cluster by itself.
itdastream.sso.allow.unmapped.groups false Whether an identity whose groups all map to nothing may still authenticate. Off deliberately: such a session has no policies and is denied every action, so admitting it produces a client that connects and then fails every produce and fetch. The directory login endpoint reports that case as 403, separately from a wrong password's 401.
itdastream.sso.federated.session.seconds 3600 Lifetime of a federated session. It bounds how long access outlives a revocation at the provider, which this cluster is not told about. No refresh token is issued for a federated session for the same reason.

OpenID Connect

Property Default Description
itdastream.sso.oidc.enabled false Enable the OIDC provider. Also what makes OAUTHBEARER appear in the SASL handshake.
itdastream.sso.oidc.issuer (empty) Issuer URL. Endpoints and the signing key set are read from its discovery document, so they are not configured individually.
itdastream.sso.oidc.client.id (empty) Client id registered at the provider.
itdastream.sso.oidc.client.secret (empty) Client secret. Credential — never read back by the console.
itdastream.sso.oidc.redirect.uri http://localhost:9090/admin/auth/sso/oidc/callback Must match the redirect URI registered at the provider exactly, and must be the address browsers reach — the load balancer's, not one broker's.
itdastream.sso.oidc.scopes openid profile email Scopes requested. Deliberately excludes groups: it is not a standard scope, and a provider that does not define it rejects the whole authorization request with invalid_scope.
itdastream.sso.oidc.username.claim preferred_username Claim holding the login name.
itdastream.sso.oidc.groups.claim groups Claim holding group membership. The provider must be configured to include it.
itdastream.sso.oidc.audience (empty) Expected audience. Empty falls back to the client id. A token issued for another application is refused even though it is genuine and correctly signed.

SAML 2.0

Property Default Description
itdastream.sso.saml.enabled false Enable the SAML provider, for the console. A SAML assertion is refused on the Kafka plane by design — it may be used once, and a Kafka client authenticates on every connection it opens.
itdastream.sso.saml.idp.entity.id (empty) Identity provider entity ID. Read automatically when the provider's metadata is imported from the console.
itdastream.sso.saml.idp.sso.url (empty) IdP single sign-on URL.
itdastream.sso.saml.idp.certificate (empty) Base64 IdP signing certificate. Every assertion's signature is verified against it.
itdastream.sso.saml.sp.entity.id itdastream This cluster's entity ID, as it appears in the SP metadata the provider imports.
itdastream.sso.saml.sp.acs.url http://localhost:9090/admin/auth/sso/saml/acs Assertion consumer URL. As with the OIDC redirect, this must be the address browsers reach.
itdastream.sso.saml.nameid.format (empty) Requested NameID format. Empty omits the request entirely and lets the provider issue what it is configured for — naming one breaks more integrations than it fixes.
itdastream.sso.saml.sign.requests false Sign authentication requests. Needs an SP keypair, generated from the console; re-import the SP metadata at the provider afterwards so it picks up the certificate.
itdastream.sso.saml.username.attribute uid Assertion attribute holding the login name.
itdastream.sso.saml.groups.attribute groups Assertion attribute holding group membership.

LDAP / Active Directory

Property Default Description
itdastream.sso.ldap.enabled false Enable the directory provider. With it on, a directory password works on the console login form and in the SASL/PLAIN password field.
itdastream.sso.ldap.url ldap://ldap.example.com:389 Directory URL. Use ldaps:// or enable StartTLS — otherwise the bind password crosses the network in the clear.
itdastream.sso.ldap.bind.dn (empty) Service account that searches for user entries. Authentication is search then bind: the user's DN cannot be constructed, since Active Directory puts people under CN=John Doe,OU=Staff,… where neither component is the login name.
itdastream.sso.ldap.bind.password (empty) Service account password. Credential.
itdastream.sso.ldap.user.base.dn (empty) Subtree searched for user entries.
itdastream.sso.ldap.user.filter (uid={0}) Filter locating the user; {0} is the login name, escaped per RFC 4515 before substitution. Active Directory usually wants (sAMAccountName={0}).
itdastream.sso.ldap.group.base.dn (empty) Subtree searched for groups.
itdastream.sso.ldap.group.filter (member={0}) Filter locating groups containing the user; {0} is the user's DN. Membership is read both from this search and from the user's memberOf, because directories disagree about which side records it.
itdastream.sso.ldap.group.name.attribute cn Attribute holding the group name.
itdastream.sso.ldap.starttls false Upgrade a plain ldap:// connection with StartTLS.

SSL/TLS Keystore Properties (optional)

These are commented out by default (plaintext mode). Set them when itdastream.ssl.enabled=true.

Property Default Description
itdastream.ssl.keystore.path (optional) (unset) Path to the JKS keystore holding the server's TLS certificate and private key. Required when SSL is enabled.
itdastream.ssl.keystore.password (optional) (unset) Password to open/unlock the JKS keystore file. Required when SSL is enabled and a keystore is configured.
itdastream.ssl.key.password (optional) (unset) Password protecting the private key entry inside the keystore (may differ from the keystore password).
itdastream.ssl.truststore.path (optional) (unset) Path to a JKS truststore of trusted client CA certificates, used only for mutual TLS. Omit if client-certificate auth is not required.
itdastream.ssl.truststore.password (optional) (unset) Password to open the truststore. Only needed when a truststore (mutual TLS) is configured.

Control Center (Admin UI) Settings

Property Default Description
itdastream.admin.ui.port 8080 HTTP port for the Admin UI / Control Center (REST API + web console). Separate from the Kafka and internal NIO ports.
itdastream.admin.ui.static.path admin-ui Directory from which the Admin UI's static web assets (HTML/JS/CSS) are served. Change only if you relocate the bundled assets.
itdastream.admin.ui.refresh.interval.ms 30000 How often (ms, 30s) the Admin UI front-end auto-refreshes its charts/metrics views. Delivered to the UI to drive its polling cadence.

Logging Settings

Property Default Description
itdastream.log.mode ASYNC_FILE Logging output mode. ASYNC_FILE: asynchronous appender writing log files on disk under itdastream.log.path. RING_BUFFER: in-memory ring buffer optimized for low-overhead real-time tailing.
itdastream.log.path ${itdastream.base.data.dir}/logs Directory where the broker writes its system log files when log.mode=ASYNC_FILE.

Operational Tuning

Internal NIO (Broker-to-Broker)

Tuning for the internal control/data protocol between brokers (itdastream.nio.port).

Property Default Description
itdastream.internal.nio.worker.threads 32 Number of worker threads servicing internal NIO connections.
itdastream.internal.nio.connect.timeout.ms 5000 Max time (ms) to establish an outbound TCP connection to a peer broker before failing.
itdastream.internal.nio.read.timeout.ms 30000 Max time (ms) to wait for a response/read on an internal NIO request before timing out.
itdastream.internal.nio.socket.timeout.ms 30000 Underlying socket read (SO_TIMEOUT) timeout (ms) for internal NIO connections.
itdastream.internal.nio.max.frame.bytes 10485760 Maximum allowed size (bytes, 10 MiB) of a single internal NIO protocol frame; larger frames are rejected.

Admin Server

Tuning for the Admin UI / REST HTTP server.

Property Default Description
itdastream.admin.executor.threads 16 Thread-pool size for executing admin request handler logic.
itdastream.admin.net.worker.threads 4 Number of network (Netty) worker threads handling admin HTTP I/O.
itdastream.admin.streaming.kill.wait.ms 15000 How long DELETE /admin/streaming/jobs/{id} (Kill) waits for every broker to stop the job's executor threads before answering (milliseconds). The response says "stopped": true once all have stopped.
itdastream.admin.http.max.content.length 67108864 Maximum accepted HTTP request body size (bytes, 64 MiB) for admin endpoints; larger requests are rejected. Sized to accept streaming-job dependency JAR uploads (POST /admin/deps); the Netty aggregator only buffers bytes actually sent, so a large cap is free for small requests.
itdastream.admin.cors.max.age.seconds 86400 Value (seconds, 24h) sent in the CORS Access-Control-Max-Age header, telling browsers how long to cache a preflight result.
itdastream.admin.cleanup.history.max.records 50 Maximum number of cleanup-history records returned/retained for display by admin cleanup-history endpoints.
itdastream.admin.monitoring.default.window.ms 3600000 Default time window (ms, 1 hour) used by admin monitoring endpoints when a caller does not specify one.
itdastream.topic.default.partitions 10 Default partition count applied when a topic is created without an explicit count (including auto-created topics).

Metrics

Collection and retention scheduling for the metrics subsystem.

Property Default Description
itdastream.metrics.collector.connect.timeout.ms 2000 Connect timeout (ms) when the metrics collector reaches out to peer brokers to pull their metrics.
itdastream.metrics.collector.read.timeout.ms 5000 Read timeout (ms) for the metrics collector's per-broker metrics fetch.
itdastream.metrics.collector.initial.delay.ms 10000 Delay (ms, 10s) after startup before the first metrics collection run.
itdastream.metrics.collector.interval.ms 30000 Period (ms, 30s) between successive metrics collection runs.
itdastream.metrics.retention.initial.delay.hours 1 Delay (hours) after startup before the first metrics-retention (pruning) run.
itdastream.metrics.retention.interval.hours 6 Period (hours) between metrics-retention runs that prune points older than itdastream.metrics.retention.days.

Cluster Coordination

Property Default Description
itdastream.internal.kms.iam.sync.timeout.ms 10000 Timeout (ms) for an internal KMS/IAM state-sync request between brokers (follower pulling authoritative state from the leader).
itdastream.broker.controller.poll.interval.ms 1000 How often (ms, 1s) a broker polls ZooKeeper for controller/leadership changes during its controller-watch loop.
itdastream.group.coordinator.join.default.timeout.ms 30000 Default JoinGroup rebalance timeout (ms, 30s) for the consumer group coordinator when a client does not supply one.
itdastream.group.coordinator.sync.timeout.ms 30000 SyncGroup timeout (ms, 30s): how long the coordinator waits for the group leader to send the partition assignment.
itdastream.cluster.bootstrap.fetch.max.retries 30 Number of fetch attempts for the mandatory KMS/IAM bootstrap pull on non-leader startup. Exhausting the budget exits with code 1 so the supervisor restarts the broker.
itdastream.cluster.bootstrap.fetch.retry.delay.ms 1000 Wait (ms) between bootstrap fetch attempts.
itdastream.cluster.sync.signal.write.max.retries 5 Number of attempts for the leader-side /sync-signal write, so a transient ZK glitch during key rotation or IAM mutation does not drop the notification.
itdastream.cluster.sync.signal.write.retry.delay.ms 500 Wait (ms) between /sync-signal write attempts.
itdastream.cluster.periodic.self.sync.interval.ms 300000 Non-leader periodic self-check sync (ms) as a backstop for any missed /sync-signal notification. 0 disables.
itdastream.coordinator.leader.deference.ms 3000 Sticky-leader startup deference window (ms): a non-incumbent broker waits this long before joining the election if the previous leader is still alive. 0 disables.

S3 Storage Timeouts

HTTP client timeouts for the S3 object-storage client.

Property Default Description
itdastream.storage.s3.connection.timeout.ms 120000 Max time (ms, 120s) to establish a TCP connection to the S3 endpoint.
itdastream.storage.s3.socket.timeout.ms 120000 Max idle time (ms, 120s) on an established socket waiting for data. Raise for slow/distant object stores or large objects.

Timer

Property Default Description
itdastream.timer.scheduler.threads 2 Number of threads in the broker's internal scheduled-timer pool used to run periodic/delayed background tasks.

Streaming Engine Settings

Broker-level defaults for streaming jobs (Kafka → Iceberg / multi-sink). A per-job spec — submitted through the Admin UI or the SDK — overrides any value it sets explicitly. See Streaming Overview and Operations & Tuning.

Property Default Description
itdastream.streaming.reconcile.interval.ms 5000 How often (ms) the streaming reconciler runs on each broker: the controller recomputes per-broker thread assignments and every broker converges its running executor threads to its assignment. Lower reacts faster to job/membership changes at the cost of more ZooKeeper reads.
itdastream.streaming.exchange.prefix streaming/exchange S3 key prefix under the broker's storage bucket where streaming checkpoint state (Kafka offset snapshots) is persisted by the ExchangeManager. Layout: <prefix>/<jobId>/cp/<checkpointId>/…. A reassigned worker restores from here.
itdastream.streaming.commit.interval.ms 10000 Default sink commit interval (ms). For transactional sinks (Iceberg/JDBC) this is the exactly-once checkpoint cadence: the sink commit and the Kafka offset commit are aligned at this interval. Lower means lower latency but more, smaller Iceberg snapshots.
itdastream.streaming.checkpoint.interval.ms 10000 Default checkpoint barrier interval (ms) used by the controller's checkpoint coordinator and by the executor's self-checkpoint fallback. Usually equal to the commit interval.
itdastream.streaming.commit.row.threshold 10000 Row-count threshold that also triggers an Iceberg commit, in addition to the time-based interval. Bounds the number of rows buffered per commit. Unit: rows.
itdastream.streaming.source.poll.timeout.ms 100 Kafka consumer poll timeout (ms) inside the streaming poll loop. Short polls keep the loop responsive to checkpoint barriers.
itdastream.streaming.progress.log.interval.ms 30000 How often (ms) a running streaming executor logs progress (records processed).

Single-Committer for Append-Only Iceberg Sinks

Property Default Description
itdastream.streaming.iceberg.coordinated.commit.enabled true When true, an append-only Iceberg sink (no upsert keys) runs in coordinated mode: each broker only writes and drains its Parquet data files at the checkpoint barrier, and the controller performs one atomic Iceberg commit aggregating every broker's files for that checkpoint. Because only the controller commits a given table, parallelism > 1 never triggers a concurrent-writer CommitFailedException. Set false to fall back to per-broker self-commit (each broker commits its own files, which can conflict at high parallelism). Upsert sinks always use the per-broker path.

No-Code Auto-Sink Ingestion-Time Column

Applies only to the no-code auto-sink path — a job that sinks a topic straight into an Iceberg table with no MAP/FLATMAP user code (see No-Code Kafka to Iceberg). On that path the incoming JSON/Avro records usually carry no event-time column, so the broker synthesises one (ingestion time) and the auto-created table can be hidden-partitioned by time. Custom jobs with transforms are never touched — their schema follows the user code exactly.

Property Default Description
itdastream.streaming.autosink.ingest.ts.enabled true When true, the no-code auto-sink injects the synthetic ingestion-time column and hidden-partitions the auto-created table by it. Set false to write the data columns as-is, with no added column and an unpartitioned table.
itdastream.streaming.autosink.ingest.ts.column _ingest_ts Name of the synthetic ingestion-time column. Chosen not to collide with user fields. Type: Iceberg timestamptz (microseconds, UTC), stamped once per micro-batch at write time.
itdastream.streaming.autosink.ingest.ts.partition hour Iceberg partition transform applied to that column when the table is auto-created: hour, day, month or year. The hidden partition column is then named <column>_<transform> (e.g. _ingest_ts_hour).

Per-Job Streaming Logs

Each broker buffers the log lines of every streaming job it runs in memory and periodically flushes them to the object store under <prefix>/<jobId>/broker-<brokerId>.log. The Admin UI tails one job by merging every broker's flushed file (history, survives restarts) with the serving broker's live in-memory buffer. Applies to both user-submitted jobs and no-code auto-sink jobs — see Job Logs, Kill & Iceberg Sinks.

Property Default Description
itdastream.streaming.joblogs.enabled true When true, capture and flush per-job logs. Set false to disable the job log viewer entirely; jobs still log to the broker's main log file.
itdastream.streaming.joblogs.prefix jobLogs Object-store key prefix under which per-job log files are flushed.
itdastream.streaming.joblogs.flush.interval.ms 3000 How often (ms) each broker flushes its in-memory per-job log buffers to the object store. Lower means fresher logs from remote brokers in the viewer, at the cost of more object-store writes. The serving broker's own lines are always live, with no lag.
itdastream.streaming.joblogs.max.lines 5000 Maximum log lines retained in memory per job per broker (ring buffer). Also bounds the viewer window.

Iceberg Connector Settings

Cluster-level policy for the Iceberg connector, applied to every Iceberg connection unless that connection overrides it in its own properties (Admin UI → Connections). Per-connection settings always win. Full background in Iceberg Catalog Sessions.

Property Default Description
itdastream.iceberg.default.region us-east-1 AWS region used whenever one is not otherwise specified — for S3 data access and Glue SigV4 signing alike. The AWS SDK refuses to build a client without a region, so this is the last-resort value.
itdastream.iceberg.default.format.version 2 Iceberg table format version for tables the sink creates. 2 gives row-level deletes (DELETE/UPDATE/MERGE write delete files instead of rewriting whole files); 3 adds deletion vectors, row lineage and the variant type. Existing tables keep the version they were created with; the library reads and writes every version regardless.
itdastream.iceberg.rest.credential.vending.bypass true Suppress catalog credential vending — send X-Iceberg-Access-Delegation: "" and read/write S3 with the connection's own static keys instead of the short-lived credentials the catalog would vend. Default true, and the only tested path: vended credentials carry the catalog's view of the S3 endpoint (often a container-internal hostname), which is routinely unreachable from the broker.
itdastream.iceberg.polaris.default.scope PRINCIPAL_ROLE:ALL OAuth2 scope requested from a Polaris-flavored REST catalog when the connection does not name one. PRINCIPAL_ROLE:ALL is Polaris's "every role this principal holds" scope.
itdastream.iceberg.glue.signing.name glue SigV4 service name used when signing requests to an AWS Glue Iceberg REST endpoint. Iceberg's own default is execute-api, which Glue rejects.
itdastream.iceberg.catalog.oauth2.token.refresh.enabled true Whether the REST session keeps renewing its OAuth2 token in the background. A streaming sink outlives its token many times over, so leaving this on is the norm.
itdastream.iceberg.catalog.oauth2.token.exchange.enabled true Whether that renewal uses the RFC 8693 token-exchange grant (the Iceberg and Trino default) rather than a plain client_credentials fetch. Apache Polaris 1.4.1 accepts either — that was measured, not assumed — so the client default is kept. Turn it off only for an identity provider that does not implement RFC 8693, where every exchange fails and the client_credentials fallback is the only renewal that works.

itdastream.iceberg.wap.branch is per job, not broker-wide

The Write-Audit-Publish branch is selected in the sink config of a job spec (or the Admin UI Iceberg WAP branch field). The key appears in itdastream.properties for reference only; there is no broker-wide default. See Iceberg Write-Audit-Publish.


Misc Operational Tuning

Property Default Description
itdastream.security.jwt.expiration.ms 86400000 JWT token expiration window (ms, 24h). Lower for tighter admin session lifetimes; raise for longer-lived sessions.
itdastream.metadata.producer.id.block.size 1000 Number of producer IDs allocated per ZooKeeper refill. Larger blocks reduce ZK write pressure but waste more IDs on broker restart.
itdastream.metadata.transaction.load.cache.ttl.ms 1000 Minimum interval (ms) between full ZK reloads of the transaction state map (cache TTL). Mutating ops bypass this cache.
itdastream.broker.id.stateless.max 1000000 Stateless broker ID modulus. When itdastream.broker.id.stateless=true, the broker ID is hash(host:port) % this value. Caps the ID space.
itdastream.broker.drain.pause.ms 15000 How long a broker keeps serving after announcing that it is draining, during a shutdown. Announcing removes it from the metadata every other broker hands to clients, but a client that fetched metadata a moment earlier still believes it is serving — this is the time it gets to notice. Set it to at least the clients' metadata refresh interval. See Broker Drain.
itdastream.broker.shutdown.grace.ms 30000 How long shutdown waits for requests already being handled to finish before interrupting the handler threads. Interrupting mid-produce can abort a batch after it reached the staging store but before the write buffer took it, leaving a producer holding an acknowledgement for a record the log does not have. Bounded so a wedged handler cannot stop the broker stopping.
itdastream.executor.shutdown.await.seconds 5 Executor shutdown grace period (seconds): how long stop() waits for in-flight scheduled tasks to drain before forcing termination.