- All of the Kafka features you’re used to: Ursa supports all the Kafka features you’re accustomed to, including KStreams, KSQL, KTables with Topic Compaction, Schema Registry for the Java Client, and Kerberos Authentication for Kafka Clients.
- Great developer experience: Ursa features streamlined local testing, with its own testcontainers module.
- Robust and reliable: Architecturally designed for scale and subjected to rigorous resilience testing. We’ve fortified Ursa through comprehensive testing, ensuring it meets and exceeds the demands of large-scale Kafka operations.
Enable Kafka Protocol
To use the Kafka Protocol on StreamNative Private Cloud, you need to make sure using the image
streamnative/private-cloud:3.1.0.4
or later.PulsarBroker
CR as follows:
- [1]
spec.config.protocolHandlers.kop.enabled
: Required. A boolean to control whether the Kafka Protocol is enabled or disabled in a StreamNative cluster. - [2]
spec.config.transactionEnabled
: Required. A boolean to control whether the Kafka Transaction is enabled or disabled in a StreamNative cluster.
Enable Kafka Proxy
StreamNative supports a proxy extension which allows Kafka clients to connect and route Kafka traffic to a StreamNative cluster.To use the Kafka Proxy on StreamNative Private Cloud, ensure that you are using image
streamnative/private-cloud:3.1.0.4
or later, and that the Kafka Protocol has already been enabled in the cluster.PulsarProxy
CR as follows:
- [1]
spec.config.kopProxy.enabled
: Required. A boolean to control whether the Kafka Proxy is enabled or disabled in the StreamNative cluster. - [2]
spec.config.kopProxy.kafkaAdvertisedListener
: Required. Specifies the listeners for Kafka clients. In Kubernetes environments, you should configure the external ProxyLoadBalancer
type service address orNodePort
type service address for this field.
LoadBalancer
type service, then use the LoadBalancer
hostname as the kafkaAdvertisedListener
:
Use Kafka Client to connect to Kafka Proxy
After enabling the Kafka Protocol onPulsarBroker
and Kafka Proxy on PulsarProxy
, we can follow below steps to have a quick tutorial:
Download the Kafka release