camel-irc-kafka-connector source configuration

When using camel-irc-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-irc-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this Source connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.irc.CamelIrcSourceConnector

The camel-irc source connector supports 32 options, which are listed below.

Name Description Default Required Priority

camel.source.path.hostname

Hostname for the IRC chat server

null

true

HIGH

camel.source.path.port

Port number for the IRC chat server. If no port is configured then a default port of either 6667, 6668 or 6669 is used.

null

false

MEDIUM

camel.source.endpoint.autoRejoin

Whether to auto re-join when being kicked

true

false

MEDIUM

camel.source.endpoint.channels

Comma separated list of IRC channels.

null

false

MEDIUM

camel.source.endpoint.commandTimeout

Delay in milliseconds before sending commands after the connection is established.

5000L

false

MEDIUM

camel.source.endpoint.keys

Comma separated list of keys for channels.

null

false

MEDIUM

camel.source.endpoint.namesOnJoin

Sends NAMES command to channel after joining it. onReply has to be true in order to process the result which will have the header value irc.num = '353'.

false

false

MEDIUM

camel.source.endpoint.nickname

The nickname used in chat.

null

false

MEDIUM

camel.source.endpoint.persistent

Use persistent messages.

true

false

LOW

camel.source.endpoint.realname

The IRC user’s actual name.

null

false

MEDIUM

camel.source.endpoint.bridgeErrorHandler

Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.

false

false

MEDIUM

camel.source.endpoint.exceptionHandler

To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.

null

false

MEDIUM

camel.source.endpoint.exchangePattern

Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]

null

false

MEDIUM

camel.source.endpoint.colors

Whether or not the server supports color codes.

true

false

MEDIUM

camel.source.endpoint.synchronous

Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

false

false

MEDIUM

camel.source.endpoint.onJoin

Handle user join events.

true

false

MEDIUM

camel.source.endpoint.onKick

Handle kick events.

true

false

MEDIUM

camel.source.endpoint.onMode

Handle mode change events.

true

false

MEDIUM

camel.source.endpoint.onNick

Handle nickname change events.

true

false

MEDIUM

camel.source.endpoint.onPart

Handle user part events.

true

false

MEDIUM

camel.source.endpoint.onPrivmsg

Handle private message events.

true

false

MEDIUM

camel.source.endpoint.onQuit

Handle user quit events.

true

false

MEDIUM

camel.source.endpoint.onReply

Whether or not to handle general responses to commands or informational messages.

false

false

MEDIUM

camel.source.endpoint.onTopic

Handle topic change events.

true

false

MEDIUM

camel.source.endpoint.nickPassword

Your IRC server nickname password.

null

false

MEDIUM

camel.source.endpoint.password

The IRC server password.

null

false

MEDIUM

camel.source.endpoint.sslContextParameters

Used for configuring security using SSL. Reference to a org.apache.camel.support.jsse.SSLContextParameters in the Registry. This reference overrides any configured SSLContextParameters at the component level. Note that this setting overrides the trustManager option.

null

false

MEDIUM

camel.source.endpoint.trustManager

The trust manager used to verify the SSL server’s certificate.

null

false

MEDIUM

camel.source.endpoint.username

The IRC server user name.

null

false

MEDIUM

camel.component.irc.bridgeErrorHandler

Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored.

false

false

MEDIUM

camel.component.irc.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.irc.useGlobalSslContextParameters

Enable usage of global SSL context parameters.

false

false

MEDIUM

The camel-irc source connector has no converters out of the box.

The camel-irc source connector has no transforms out of the box.

The camel-irc source connector has no aggregation strategies out of the box.