- Kafka Protocol
- AMQP (Advanced Message Queuing Protocol)
- MQTT (Message Queuing Telemetry Transport)
- WebSocket
Kafka Protocol
Kafka protocol support allows Kafka clients to interact with your Pulsar cluster. This enables seamless integration for applications already using Kafka. To enable and configure the Kafka protocol for your Pulsar cluster, you can use theconfig
section in your PulsarCluster specification. Here’s how to do it:
- In your PulsarCluster specification, locate or add the
config
section. - Within the
config
section, add aprotocols
field. - In the
protocols
field, add akafka
object to configure Kafka-specific settings.
-
Using
snctl
: -
Using Terraform:
AMQP (Advanced Message Queuing Protocol)
AMQP protocol support is currently in Private Preview and is only available to select users. If you’re interested in trying out this feature, please contact StreamNative support for more information.
config
section in your PulsarCluster specification. Here’s how to do it:
- In your PulsarCluster specification, locate or add the
config
section. - Within the
config
section, add aprotocols
field. - In the
protocols
field, add aamqp
object to configure AMQP-specific settings.
-
Using
snctl
: -
Using Terraform:
MQTT (Message Queuing Telemetry Transport)
MQTT support enables IoT devices and applications using the MQTT protocol to communicate with your Pulsar cluster. This is particularly useful for IoT and mobile scenarios. To enable and configure the MQTT protocol for your Pulsar cluster, you can use theconfig
section in your PulsarCluster specification. Here’s how to do it:
- In your PulsarCluster specification, locate or add the
config
section. - Within the
config
section, add aprotocols
field. - In the
protocols
field, add amqtt
object to configure MQTT-specific settings.
-
Using
snctl
: -
Using Terraform:
WebSocket
Pulsar WebSocket support enables real-time, bidirectional communication between clients and your Pulsar cluster via WebSocket. This feature can be enabled or disabled based on your requirements. To enable WebSocket for your cluster, you can set theconfig.websocketEnabled
field in your PulsarCluster specification to true
if you are using snctl
or config.websocket_enabled
field in your PulsarCluster specification to true
if you are using Terraform.
Please note that if you disable WebSocket, you will not be able to create new WebSocket clients in the cluster. Existing WebSocket clients will be disconnected.