camel-ganglia-kafka-connector sink configuration
Connector Description: Send metrics to Ganglia monitoring system.
When using camel-ganglia-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-ganglia-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this Sink connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.ganglia.CamelGangliaSinkConnector
The camel-ganglia sink connector supports 30 options, which are listed below.
Name | Description | Default | Required | Priority |
---|---|---|---|---|
camel.sink.path.host |
Host name for Ganglia server |
"239.2.11.71" |
false |
MEDIUM |
camel.sink.path.port |
Port for Ganglia server |
8649 |
false |
MEDIUM |
camel.sink.endpoint.dmax |
Minumum time in seconds before Ganglia will purge the metric value if it expires. Set to 0 and the value will remain in Ganglia indefinitely until a gmond agent restart. |
0 |
false |
MEDIUM |
camel.sink.endpoint.groupName |
The group that the metric belongs to. |
"java" |
false |
MEDIUM |
camel.sink.endpoint.lazyStartProducer |
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. |
false |
false |
MEDIUM |
camel.sink.endpoint.metricName |
The name to use for the metric. |
"metric" |
false |
MEDIUM |
camel.sink.endpoint.mode |
Send the UDP metric packets using MULTICAST or UNICAST One of: [MULTICAST] [UNICAST] |
"MULTICAST" |
false |
MEDIUM |
camel.sink.endpoint.prefix |
Prefix the metric name with this string and an underscore. |
null |
false |
MEDIUM |
camel.sink.endpoint.slope |
The slope One of: [ZERO] [POSITIVE] [NEGATIVE] [BOTH] |
"BOTH" |
false |
MEDIUM |
camel.sink.endpoint.spoofHostname |
Spoofing information IP:hostname |
null |
false |
MEDIUM |
camel.sink.endpoint.tmax |
Maximum time in seconds that the value can be considered current. After this, Ganglia considers the value to have expired. |
60 |
false |
MEDIUM |
camel.sink.endpoint.ttl |
If using multicast, set the TTL of the packets |
5 |
false |
MEDIUM |
camel.sink.endpoint.type |
The type of value One of: [STRING] [INT8] [UINT8] [INT16] [UINT16] [INT32] [UINT32] [FLOAT] [DOUBLE] |
"STRING" |
false |
MEDIUM |
camel.sink.endpoint.units |
Any unit of measurement that qualifies the metric, e.g. widgets, litres, bytes. Do not include a prefix such as k (kilo) or m (milli), other tools may scale the units later. The value should be unscaled. |
null |
false |
MEDIUM |
camel.sink.endpoint.wireFormat31x |
Use the wire format of Ganglia 3.1.0 and later versions. Set this to false to use Ganglia 3.0.x or earlier. |
true |
false |
MEDIUM |
camel.component.ganglia.dmax |
Minumum time in seconds before Ganglia will purge the metric value if it expires. Set to 0 and the value will remain in Ganglia indefinitely until a gmond agent restart. |
0 |
false |
MEDIUM |
camel.component.ganglia.groupName |
The group that the metric belongs to. |
"java" |
false |
MEDIUM |
camel.component.ganglia.lazyStartProducer |
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. |
false |
false |
MEDIUM |
camel.component.ganglia.metricName |
The name to use for the metric. |
"metric" |
false |
MEDIUM |
camel.component.ganglia.mode |
Send the UDP metric packets using MULTICAST or UNICAST One of: [MULTICAST] [UNICAST] |
"MULTICAST" |
false |
MEDIUM |
camel.component.ganglia.prefix |
Prefix the metric name with this string and an underscore. |
null |
false |
MEDIUM |
camel.component.ganglia.slope |
The slope One of: [ZERO] [POSITIVE] [NEGATIVE] [BOTH] |
"BOTH" |
false |
MEDIUM |
camel.component.ganglia.spoofHostname |
Spoofing information IP:hostname |
null |
false |
MEDIUM |
camel.component.ganglia.tmax |
Maximum time in seconds that the value can be considered current. After this, Ganglia considers the value to have expired. |
60 |
false |
MEDIUM |
camel.component.ganglia.ttl |
If using multicast, set the TTL of the packets |
5 |
false |
MEDIUM |
camel.component.ganglia.type |
The type of value One of: [STRING] [INT8] [UINT8] [INT16] [UINT16] [INT32] [UINT32] [FLOAT] [DOUBLE] |
"STRING" |
false |
MEDIUM |
camel.component.ganglia.units |
Any unit of measurement that qualifies the metric, e.g. widgets, litres, bytes. Do not include a prefix such as k (kilo) or m (milli), other tools may scale the units later. The value should be unscaled. |
null |
false |
MEDIUM |
camel.component.ganglia.wireFormat31x |
Use the wire format of Ganglia 3.1.0 and later versions. Set this to false to use Ganglia 3.0.x or earlier. |
true |
false |
MEDIUM |
camel.component.ganglia.autowiredEnabled |
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. |
true |
false |
MEDIUM |
camel.component.ganglia.configuration |
To use the shared configuration |
null |
false |
MEDIUM |
The camel-ganglia sink connector has no converters out of the box.
The camel-ganglia sink connector has no transforms out of the box.
The camel-ganglia sink connector has no aggregation strategies out of the box.