Replay tuning
Configure most Traffic Replayer settings under replayerConfig in the workflow configuration.
Throughput and timing
-
podReplicas- number of replayer pods. Each pod independently consumes from Kafka and sends traffic to the target. -
speedupFactor- replay speed multiplier. The default is1.1;2.0means twice the original traffic timeline. -
maxConcurrentRequests- maximum in-flight requests to the target per replayer pod. The default is10000. -
numClientThreads- number of client threads used to send replayed requests. The default is0, which uses the Netty event loop. -
targetServerResponseTimeoutSeconds- maximum time to wait for a response from the target before timing out a replayed request. The default is150. -
lookaheadTimeSeconds- seconds of captured traffic to buffer ahead of the current replay position. The default is400; it must be greater thanobservedPacketConnectionTimeout. -
observedPacketConnectionTimeout- seconds of inactivity on a captured connection before the replayer treats the original connection as closed. The default is360. -
quiescentPeriodMs- delay before the first request on a resumed connection after Kafka partition reassignment. The default is5000.
If the target is saturated, reduce podReplicas, speedupFactor, or maxConcurrentRequests. If the target has spare capacity but replay is not catching up, increase them gradually while watching target latency, rejected requests, and replay lag.
Authentication, Kafka, and identification
-
removeAuthHeader- strips the capturedAuthorizationheader before replaying. Use this when captured credentials are not valid for the target and no replacementAuthorizationheader should be applied. Do not set it when the target uses Basic or SigV4authConfig; the workflow applies those target credentials automatically and rejects a replayer that also setsremoveAuthHeader. -
userAgent- appends a string to the User-Agent header on replayed target requests so you can identify replay traffic in target logs. -
kafkaTrafficEnableMSKAuth- legacy process flag for direct MSK IAM Kafka consumer wiring. The workflow Kafka cluster profile path resolvesauth.typeasnoneorscram-sha-512; use this flag only for low-level process configurations that are wired consistently with the capture proxy. -
kafkaTrafficPropertyFile- expert setting for additional Kafka consumer properties. The file must already be mounted into the replayer container. -
otelMetricsCollectorEndpoint- OpenTelemetry metrics collector endpoint. The default ishttp://otel-collector:4317; set it to an empty string to disable metrics export. -
otelTraceCollectorEndpoint- OpenTelemetry trace collector endpoint, such ashttp://otel-trace-collector:4317. Omit it or set it to an empty string to disable trace export. -
resources,jvmArgs, andloggingConfigurationOverrideConfigMap- Kubernetes resources, JVM arguments, and logging override ConfigMap for replayer pods.
Set dependsOnSnapshotMigrations on the replayer, outside replayerConfig, when replay must wait for specific snapshot migrations to complete before starting.
Transforms, tuples, and retries
-
requestTransforms- preferred workflow field for request transform pipelines. Use this for workflow-managed JavaScript or Python transforms. -
transformerConfig,transformerConfigEncoded, andtransformerConfigFile- raw request transformer configuration forms for manual or expert use. Do not set these together withrequestTransforms. -
tupleTransforms- preferred workflow field for tuple transform pipelines. Use this when tuple audit records need additional comparison or normalization logic. -
tupleTransformerConfig,tupleTransformerConfigBase64, andtupleTransformerConfigFile- raw tuple transformer configuration forms. Do not set these together withtupleTransforms. -
tupleS3BucketandtupleS3Region- write tuple logs directly to Amazon S3.tupleS3Regionis required whentupleS3Bucketis set. Recommended for Amazon EKS workflow runs because local replayer tuple logs are not mounted into the Migration Console. -
tupleS3PrefixandtupleS3Endpoint- optional S3 key prefix and custom endpoint. The default prefix istuples/. -
tupleMaxBufferSeconds,tupleMaxFileSizeMb, andtupleMaxPerFile- S3 tuple rotation controls. Defaults are 60 seconds, 256 MB uncompressed, and0for no tuple-count limit. -
nonRetryableDocExceptionTypes- document-level bulk error type strings that should not be retried during replay. These errors still count as failures. When omitted, the replayer uses its built-in default set:version_conflict_engine_exception,mapper_parsing_exception,strict_dynamic_mapping_exception,document_missing_exception,action_request_validation_exception,invalid_index_name_exception,routing_missing_exception,illegal_argument_exception, andresource_already_exists_exception. If you set this field, your list replaces the defaults rather than adding to them.
Warning
Setting both replayerConfig.removeAuthHeader: true and a Basic or SigV4 authConfig block on the same target is rejected by the schema. Pick one — either rely on the target’s authConfig (the Traffic Replayer applies it for you) or strip the captured header.