Skip to main content
Version: 6.0-SNAPSHOT

Connector Guides

Hazelcast comes with a wide range of built-in connectors for accessing data in other platforms. You can also use Hazelcast with pre-built connectors for importing data from external systems. Both types of connector are configured to read and write data in the most efficient way for their respective platform.

Built-in connectors are available as either sources or sinks. Sources allow Hazelcast to read data from the required platform either for queries or as part of a larger data pipeline. Sinks allow Hazelcast to write data, such as query results, to a target system.

You can also use pre-built Kafka Connect Source connectors with Hazelcast. These low-code connectors allow you to stream events from non-Kafka external systems into a data pipeline ready for stream processing. Kafka Connect Source connectors are available for many popular platforms, including RabbitMQ, Neo4j, Couchbase, Scylla, SAP and Redis.

Explore the available connectors and choose one for your use case.

Processing Guarantees​

To ensure that all data is processed correctly, connectors that support streaming have either an at-least-once or exactly-once processing guarantee.

Connectors that do not support streaming do not have any processing guarantees. Instead, during intermittent failures, you must restart any queries or jobs that use these connectors.

Connectors for SQL​

You can use the following connectors in SQL by configuring them in the CREATE MAPPING statement.

Sources​

ConnectorModuleBatch/StreamingProcessing guarantee
Apache Kafkahazelcast-jet-kafkastreamingexactly-once
Apache Pulsarhazelcast-jet-pulsarstreamingexactly-once
FileDepends on the file format and/or storage system.Depends on the storage system.Depends on the storage system.
IMaphazelcast-sqlbatchN/A
JDBChazelcast-sqlbatchN/A
MongoDBhazelcast-sql and hazelcast-jet-mongodbbatch, streamingexactly-once

Sinks​

ConnectorModuleBatch/StreamingProcessing guarantee
Apache Kafkahazelcast-jet-kafkastreamingexactly-once
Apache Pulsarhazelcast-jet-pulsarstreamingexactly-once
IMaphazelcast-sqlbatchN/A
JDBChazelcast-sqlbatchN/A
MongoDBhazelcast-sql and hazelcast-jet-mongodbbatchexactly-once

Kafka Connect Connectors​

Source​

Integrate the Kafka Connect Source connector for your external system with Hazelcast by calling the KafkaConnectSources.connect() method in a pipeline.

ConnectorModuleBatch/StreamingProcessing Guarantee
KafkaConnectSources.connecthazelcast-jet-kafka-connectstreamingat-least-once

Connectors for the Jet API​

The Jet API supports more connectors than SQL.

Sources​

ConnectorModuleBatch/StreamingProcessing guarantee
AvroSources.fileshazelcast-jet-avrobatchN/A
DebeziumCdcSources.debezium (Legacy)hazelcast-jet-cdc-debeziumstreamingat-least-once
MySqlCdcSources.mysql (Legacy)hazelcast-jet-cdc-mysqlstreamingexactly-once
PostgresCdcSources.postgres (Legacy)hazelcast-jet-cdc-postgresstreamingexactly-once
DebeziumCdcSources.debezium (Enterprise)hazelcast-enterprise-cdc-debeziumstreamingat-least-once
MySqlCdcSources.mysqlhazelcast-enterprise-cdc-mysqlstreamingexactly-once
PostgresCdcSources.postgreshazelcast-enterprise-cdc-postgresstreamingexactly-once
ElasticSources.elastichazelcast-jet-elasticsearch-7batchN/A
HadoopSources.inputFormathazelcast-jet-hadoopbatchN/A
KafkaSources.kafkahazelcast-jet-kafkastreamingexactly-once
KinesisSources.kinesishazelcast-jet-kinesisstreamingexactly-once
MongoSources.batchhazelcast-jet-mongodbbatchexactly-once
MongoSources.streamhazelcast-jet-mongodbstreamingexactly-once
PulsarSources.pulsarConsumerhazelcast-jet-pulsarstreaming (many consumer per topic to distribute reading)exactly-once
PulsarSources.pulsarReaderhazelcast-jet-pulsarstreaming (single reader per topic)exactly-once
S3Sources.s3hazelcast-jet-s3batchN/A
Sources.cache, Sources.remoteCachehazelcastbatchN/A
Sources.cacheJournal, Sources.remoteCacheJournalhazelcaststreamingexactly-once
Sources.fileshazelcastbatchN/A
Sources.fileWatcherhazelcaststreamingnone
Sources.jsonhazelcastbatchN/A
Sources.jsonWatcherhazelcaststreamingnone
Sources.jdbchazelcastbatchN/A
Sources.jmsQueuehazelcaststreamingexactly-once
Sources.list, Sources.remoteListhazelcastbatchN/A
Sources.map, Sources.remoteMaphazelcastbatchN/A
Sources.mapJournal, Sources.remoteMapJournalhazelcaststreamingexactly-once
Sources.sockethazelcaststreamingnone
VectorSources.fvecs Enterprise Editionhazelcast-enterprisebatchN/A
VectorSources.ivecs Enterprise Editionhazelcast-enterprisebatchN/A
TestSources.itemshazelcastbatchN/A
TestSources.itemStreamhazelcaststreamingnone

Sinks​

ConnectorModuleBatch/StreamingProcessing Guarantee
AvroSinks.fileshazelcast-jet-avrobatchN/A
CdcSinks.map

hazelcast-jet-cdc-debezium (legacy, Community Edition)

or

hazelcast-enterprise-cdc-debezium (Enterprise Edition)

streamingat-least-once
ElasticSinks.elastichazelcast-jet-elasticsearch-7streamingat-least-once
HadoopSinks.outputFormathazelcast-jet-hadoopbatchN/A
KafkaSinks.kafkahazelcast-jet-kafkastreamingexactly-once
KinesisSinks.kinesishazelcast-jet-kinesisstreamingat-least-once
MongoSinks.mongodbhazelcast-jet-kinesisbatch, streamingexactly-once
PulsarSources.pulsarSinkhazelcast-jet-pulsarstreamingexactly-once
S3Sinks.s3hazelcast-jet-s3batchN/A
Sinks.cache, Sinks.remoteCachehazelcaststreamingat-least-once
Sinks.fileshazelcaststreamingexactly-once
Sinks.jsonhazelcaststreamingexactly-once
Sinks.jdbchazelcaststreamingexactly-once
Sinks.jmsQueuehazelcaststreamingexactly-once
Sinks.list, Sinks.remoteListhazelcastbatchN/A
Sinks.map, Sinks.remoteMaphazelcaststreamingat-least-once
Sinks.observablehazelcaststreamingat-least-once
Sinks.reliableTopic, Sinks.remoteReliableTopichazelcaststreamingat-least-once
Sinks.sockethazelcaststreamingat-least-once
VectorSinks.vectorCollection Enterprise Editionhazelcast-enterprisebatch, streamingat-least-once