Available Connectors
Apache Pulsar includes a comprehensive set of built-in connectors for integrating with popular external systems. Connectors are available as both sources (reading from external systems) and sinks (writing to external systems).Messaging Systems
Kafka
Type: Source and SinkDescription: Connect Pulsar with Apache Kafka clusters for bidirectional data flow. Configuration Example:
- Consumer group management
- SASL/SSL authentication support
- Custom deserializers
- Header copying support
RabbitMQ
Type: Source and SinkDescription: Integrate with RabbitMQ message broker for AMQP-based messaging. Configuration Example:
NSQ
Type: SourceDescription: Read messages from NSQ distributed messaging platform. Configuration Example:
Database Connectors
Cassandra
Type: SinkDescription: Write data into Apache Cassandra databases. Configuration Example:
- Time-series data storage
- Wide-column data models
- High-volume writes
JDBC Connectors
Pulsar provides JDBC connectors for multiple databases:PostgreSQL
Type: SinkDescription: Write data to PostgreSQL databases with automatic schema management. Configuration Example:
ClickHouse
Type: SinkDescription: High-performance sink for ClickHouse analytical database.
MariaDB
Type: SinkDescription: Write data to MariaDB/MySQL databases.
SQLite
Type: SinkDescription: Local database storage with SQLite.
OpenMLDB
Type: SinkDescription: Integration with OpenMLDB for machine learning workloads.
MongoDB
Type: Source and SinkDescription: Connect with MongoDB document databases. Configuration Example:
HBase
Type: SinkDescription: Write data to Apache HBase distributed database.
DynamoDB
Type: SinkDescription: Write data to AWS DynamoDB tables. Configuration Example:
Search and Analytics
Elasticsearch
Type: SinkDescription: Index Pulsar messages into Elasticsearch for full-text search and analytics. Configuration Example:
Solr
Type: SinkDescription: Index data into Apache Solr search platform. Configuration Example:
Azure Data Explorer
Type: SinkDescription: Write data to Azure Data Explorer (Kusto) for analytics.
Cloud Storage
AWS Kinesis
Type: Source and SinkDescription: Integrate with AWS Kinesis data streams. Configuration Example:
AWS S3 (via AWS connector)
Type: Source and SinkDescription: Read from and write to AWS S3 buckets.
Alluxio
Type: SinkDescription: Write data to Alluxio distributed file system.
Time Series Databases
InfluxDB
Type: SinkDescription: Write time-series data to InfluxDB. Configuration Example:
Aerospike
Type: SinkDescription: Write data to Aerospike NoSQL database optimized for real-time operations.
File Systems
HDFS3
Type: SinkDescription: Write data to Hadoop Distributed File System (HDFS) version 3. Configuration Example:
File
Type: Source and SinkDescription: Read from and write to local file system.
CDC Connectors
Debezium
Type: SourceDescription: Change Data Capture (CDC) connector supporting multiple databases. Supported Databases:
- MySQL
- PostgreSQL
- MongoDB
- SQL Server
- Oracle
Canal
Type: SourceDescription: MySQL binlog-based CDC connector.
Network Protocols
HTTP
Type: SinkDescription: Send data to HTTP endpoints. Configuration Example:
Netty
Type: SourceDescription: Network server connector supporting TCP, UDP, and HTTP protocols. Configuration Example:
Testing and Development
Data Generator
Type: SourceDescription: Generate test data for development and testing. Configuration Example:
Batch Data Generator
Type: SourceDescription: Generate batches of test data.
Connector Adapters
Kafka Connect Adaptor
Type: AdapterDescription: Run Kafka Connect connectors within Pulsar IO framework. This allows you to use any existing Kafka Connect connector with Pulsar.
Cache Systems
Redis
Type: SinkDescription: Write data to Redis key-value store. Configuration Example:
Connector Matrix
| Connector | Source | Sink | CDC Support |
|---|---|---|---|
| Kafka | ✓ | ✓ | - |
| RabbitMQ | ✓ | ✓ | - |
| Cassandra | - | ✓ | - |
| PostgreSQL | - | ✓ | ✓ (via Debezium) |
| MySQL | - | ✓ | ✓ (via Debezium/Canal) |
| MongoDB | ✓ | ✓ | ✓ (via Debezium) |
| Elasticsearch | - | ✓ | - |
| Kinesis | ✓ | ✓ | - |
| Redis | - | ✓ | - |
| HDFS3 | - | ✓ | - |
| HTTP | - | ✓ | - |
Next Steps
- Learn how to develop custom connectors
- Review the Pulsar IO Overview
- Deploy connectors in production environments