-
Notifications
You must be signed in to change notification settings - Fork 138
Kafka Connectors Shared Logic
The configuration properties below are shared across all Kafka connectors in Brooklin.
Remember:
-
All Connector config properties must be prefixed with
brooklin.server.connector.<connectorName>
-
connectorName
is an arbitrary user-supplied name specified in Brooklin configuration (brooklin.server.connectorNames
)
Property | Description | Default |
---|---|---|
|
|
(None) |
|
|
(None) |
|
|
|
|
|
|
|
The maximum number of times to attempt sending data to Kafka in case of failure |
|
|
The time duration (in milliseconds) to wait between successive attempts of sending data to Kafka in case of failure |
|
|
A flag indicating whether to auto-pause topic partition if sending messages to Kafka fails after exhausting the max attempts specified by |
|
|
The time duration (in milliseconds) to keep a topic partition paused after encountering send errors, before attempting to auto-resume |
|
|
|
|
|
|
|
The maximum time duration (in milliseconds) to allow between consuming data from Kafka and dispatching it for delivery to destination, before incrementing <TODO> |
|
|
<TODO> |
|
|
|
|
|
|
Kafka consumer configuration properties |
|
The diagnostic endpoints below are shared across all Kafka connectors in Brooklin.
URL |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
URL Params |
Required
|
The metrics below are shared across all Kafka connectors in Brooklin.
General metrics prefix: <connectorName>.
-
connectorName
is the name of the connector in question as it appears inbrooklin.server.connectorNames
Metric Name | Description |
---|---|
|
Number of datastreams using the connector in the entire cluster |
|
Number of datastream tasks that belong to datastreams using the connector in the entire cluster |
-
Aggregate metrics cover all datastreams in a single Brooklin instance.
-
Aggregate metrics prefix:
<connectorName>.<connectorTask>.aggregate.
-
connectorName
is the name of the connector as it appears inbrooklin.server.connectorNames
-
connectorTask
is the name of the connector task, i.e.-
kafkaConnectorTask
forKafkaConnector
-
kafkaMirrorMakerConnectorTask
forKafkaMirrorMakerConnector
-
-
Metric Name | Description |
---|---|
|
The number of times polling Kafka consumer exceeds |
|
The rate of errors encountered when data is dispatched for delivery to the destination system |
|
The rate of bytes processed and dispatched for delivery to destination |
|
The rate of Kafka record consumption |
|
The number of auto-paused topic partitions awaiting destination topic creation |
|
The number of auto-paused topic partitions due to errors encountered during dispatch for delivery |
|
The number of auto-paused topic partitions due to exceeding their maximum in-flight messages thresholds |
|
The number of topic partitions paused manually |
|
The number of Kafka topic partitions |
|
The number of times dispatching records to destination exceeds |
|
The number of Kafka topics |
|
The number of polls exceeding the maximum session timeout <TODO:?> |
|
The rate of rebalances seen by the Kafka consumer |
|
The number of stuck topic partitions |
-
Datastream-specific metrics prefix:
<connectorName>.<connectorTask>.<datastreamName>.
-
connectorName
is the name of the connector as it appears inbrooklin.server.connectorNames
-
datastreamName
is the datastream name -
connectorTask
is the name of the connector task, i.e.-
kafkaConnectorTask
forKafkaConnector
-
kafkaMirrorMakerConnectorTask
forKafkaMirrorMakerConnector
-
-
Metric Name | Description |
---|---|
|
The rate of errors encountered when data is dispatched for delivery to the destination system |
|
The distribution (histogram) of the number of records retrieved from Kafka in every poll |
|
The rate of bytes processed and dispatched for delivery to destination |
|
The rate of Kafka record consumption |
|
The number of auto-paused topic partitions awaiting destination topic creation |
|
The number of auto-paused topic partitions due to errors encountered during dispatch for delivery |
|
The number of auto-paused topic partitions due to exceeding their maximum in-flight messages thresholds |
|
The number of topic partitions paused manually |
|
The number of Kafka topic partitions |
|
The rate of polls performed using the Kafka consumer |
|
The number of times dispatching records to destination exceeds |
|
The number of Kafka topics |
|
The number of polls exceeding the maximum session timeout <TODO:?> |
|
The rate of rebalances seen by the Kafka consumer |
|
The number of stuck topic partitions |
|
The time duration (in milliseconds) since the last non-empty |
Reference source file: com.linkedin.datastream.connectors.kafka.KafkaDatastreamStatesResponse
Field Name | Type | Description |
---|---|---|
|
|
Datastream name |
|
|
Assigned topic partitions |
|
|
Associates each auto-paused topic partition with metadata about the paused partitions |
|
|
Associates each topic with a list of manually paused partitions |
|
|
Associates each topic partition with the number of in-flight messages |
Reference source file: com.linkedin.datastream.common.diag.DatastreamPositionResponse
Field Name | Type | Description |
---|---|---|
|
|
|
Reference source file: com.linkedin.datastream.common.diag.PhysicalSources
Field Name | Type | Description |
---|---|---|
|
|
|
- Home
- Brooklin Architecture
- Production Use Cases
- Developer Guide
- Documentation
- REST Endpoints
- Connectors
- Transport Providers
- Brooklin Configuration
- Test Driving Brooklin