Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 6.3 KB

File metadata and controls

16 lines (13 loc) · 6.3 KB

Capture Proxy

Failure Modes

Definitions:

Component Type of Request Scenario First Behavior First Duration Eventual Behavior
Kafka Mutating Kafka Error Data will be buffered and retried by the Kafka client based on the configured timeouts and the Kafka server's response. The delivery.timeout.ms setting of 10 seconds is the upper limit for how long the client will attempt to send data, including retries, before considering the operation failed. This is in the critical line for request proxying so the client will not receive a response. 10 Seconds When the completable future for offloading fails, a log statement will be outputted and the request will be forwarded to the destination service. No retry of this message's offloading will occur
Kafka Mutating Kafka Unavailable Same behavior as 10 Seconds Same behavior as
Kafka Non-Mutating Kafka Error Data will be buffered and retried by the Kafka client based on the configured timeouts and the Kafka server's response. The delivery.timeout.ms setting of 10 seconds is the upper limit for how long the client will attempt to send data, including retries, before considering the operation failed. This is not in the critical line for request proxying so request will be immediately proxied. N/A N/A
Kafka Non-Mutating Kafka Unavailable Same behavior as N/A N/A
Destination Any Offline Proxy will directly pass through to the client the same behavior/response as seen by the destination. The proxy maintains 1:1 connection ratio between upstream clients and the destination. N/A N/A
Logging Any Any Capture Proxy logs to Standard Output/Error streams. This can be configured via Log4j2 properties which default to non-blocking behavior as specified in PR#602. For specific AWS Behavior, see configuration for the AWS Log Driver N/A N/A
Otel Any Any By default there is no retry of the OTLP Exporter. This can be enabled by setting the appropriate JVM parameter or environment variable as specified in the Java OTLP Documentation N/A N/A