Kafka AidboxTopicDestination
To proceed with Kafka integration please configure AidboxSubscriptionTopic
module.
Behaviour Overview
By default, Aidbox buffers notifications for a short period before sending them to Kafka, in accordance with the configuration of the Kafka
AidboxTopicDestination
resource.If Kafka is unavailable, Aidbox will buffer notifications according to the
delivery.timeout.ms
parameter.If the connection is restored, the buffered notifications will be sent.
If a notification cannot be sent within the specified timeout, it will be lost.
These buffers are in-memory, so if Aidbox is restarted, the buffered data will be lost.
The status of successful or failed notifications can be monitored via Status Introspection.
Kafka in Private Environment
Full example see on Github
MSK Kafka in AWS with IAM
All Available Parameters
Parameter name | Value type | Description |
---|---|---|
| valueString | The Kafka topic where the data should be sent. |
| valueString | Comma-separated string. Specifies the Kafka broker to connect to. Only one broker can be listed. |
| valueString | Specify the final compression type for a given topic. This configuration accepts the standard compression codecs ('gzip', 'snappy', 'lz4', 'zstd'). |
| valueInteger | This configuration controls the default batch size in bytes. |
| valueInteger | A maximum time limit for reporting the success or failure of a record sent by a producer, covering delays before sending, waiting for broker acknowledgment, and handling retriable errors. |
| valueInteger | The configuration controls how long the |
| valueInteger | The maximum size of a request in bytes. |
| valueInteger | The maximum amount of time the client will wait for the response of a request. |
| valueString | Private key in the format specified by 'ssl.keystore.type'. |
| valueString | Protocol used to communicate with brokers. |
| valueString | SASL mechanism used for client connections. |
| valueString | JAAS login context parameters for SASL connections in the format used by JAAS configuration files. |
| valueString | The fully qualified name of a SASL client callback handler class that implements the AuthenticateCallbackHandler interface. |
* required parameter.
For additional details see Kafka Producer Configs Documentation
Status Introspection
Responce format:
Property | Type | Description |
---|---|---|
| string |
|
| string |
|
| number | Current number of events in the Kafka buffer being processed for delivery. |
| number | Number of events pending in the queue for dispatch to the Kafka driver. This count remains 0 when the atLeastOneGuarantee is set to false. |
| number | Total number of events that have been successfully delivered. |
| string | Total number of events that failed to be delivered. This count is always 0 when the atLeastOneGuarantee is true. |
| Object | Number of delivery attempts that failed. When atLeastOneGuarantee is false, this matches the :failed-delivery count. When atLeastOneGuarantee is true, it represents the overall failed delivery attempts. |
Last updated