FAQs for Features

Last updated: 2020-09-04 16:28:57

    What is the difference between CKafka and CMQ?

    CMQ provides finance-grade message transmission with high reliability and high data persistence while ensuring strong data consistency.
    CKafka is suitable for scenarios that require higher throughput and lower reliability (such as log aggregation). In addition, CKafka is compatible with existing Kafka users, enabling migration at zero cost with full instance exclusivity.

    Which version of open-source Kafka is compatible with CKafka?

    Currently, CKafka is fully compatible with open-source Kafka API 0.9, 0.10, 1.1, and 2.4, allowing users to migrate data to the cloud at zero cost.

    Which version of open-source Kafka is the current CKafka based on?

    The current CKafka is based on Apache Kafka 0.10, 1.1, and 2.4. We recommend using an SDK for production and consumption according to the Apache Kafka's version.

    Does CKafka expose ZooKeeper?

    CKafka does not expose ZooKeeper or its address.

    Does CKafka support public network access?

    Currently, CKafka transfers data over the private network by default. As public network access runs the risk of issues such as delay and network environment security, we do not recommend long-term use of public network transfer.
    If you have a temporary need for public network transfer, please contact your Tencent Cloud account manager for evaluation and assistance.

    Does CKafka support message compression?

    Currently, CKafka supports open-source Snappy and LZ4 message compression formats. Because gzip compression consumes more CPU resources, it is currently not supported.
    We recommend disabling message compression when testing.
    Configuration Method: in the configuration file of the producer, set the compression.type parameter to snappy or lz4. The default value is none, indicating that the feature is disabled.

    Can a Kafka client connect directly to the CKafka service?

    CKafka is compatible with open-source Kafka 0.9, 0.10, 1.1, and 2.4. You can connect to the message center via a Kafka client and deploy codes to Tencent Cloud services to produce or consume messages.

    What are the restrictions on a CKafka instance?

    Different instance specifications have different restrictions on peak throughput, disk capacity, number of topics at the instance level, and number of partitions at the instance level. For more information, see Billing Overview.

    Will CKafka lose messages?

    • Open-source Apache Kafka does not guarantee no message loss. As CKafka is optimized for availability, Tencent Cloud promises a CKafka availability of over 99.95%.
    • CKafka users can enable ACK during production to avoid message loss and improve message reliability.
    • Cluster changes and upgrades complete in seconds and will not affect user experience.
    • CKafka is mainly used in big data processing scenarios that require high throughput and high performance but relatively low data reliability. In extreme cases, a small number of messages may be lost. If you require zero message loss and have relatively performance requirements, we recommend CMQ.

    How does CKafka guarantee security?

    CKafka guarantees security by using following features:

    • Tenant isolation: the network access of instances is isolated among different accounts by default.
    • Permission control: CKafka has an additional allowlist-based authentication mechanism at the application layer and supports SASL authentication.
    • Security protection: services such as multi-dimensional security protection and anti-DDoS attacks are provided.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help