From 7cc74daac4e73be756c64b8f9d6807d297d6a207 Mon Sep 17 00:00:00 2001 From: daleiz <30970925+daleiz@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:50:57 +0800 Subject: [PATCH] fix note block --- docs/develop-with-kafka-api/compatibility.md | 24 ++++++++++++-------- docs/develop-with-kafka-api/java.md | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/docs/develop-with-kafka-api/compatibility.md b/docs/develop-with-kafka-api/compatibility.md index 41ef4dc..0e19f1f 100644 --- a/docs/develop-with-kafka-api/compatibility.md +++ b/docs/develop-with-kafka-api/compatibility.md @@ -4,9 +4,11 @@ HStream also supports Kafka API since 0.19.0, so users can connect to HStream using Kafka clients. HStream implements [Kafka protocol](https://kafka.apache.org/protocol.html) underly, so you do not need to change any code in your current Kafka applications, just updating the Kafka URLs in your configurations to point to a HStream cluster, and that is it, then you can start streaming from your Kafka applications to a HStream cluster. -> [!NOTE] -> -> Refer to [get started with Kafka API](../start/get-started-with-kafka-api.md) to learn how to enable HStream'support of Kafka API. +::: note + +Refer to [get started with Kafka API](../start/get-started-with-kafka-api.md) to learn how to enable HStream'support of Kafka API. + +::: ## Compatibility with Apache Kafka @@ -21,9 +23,11 @@ Currenty, the clients below are tested by HStream. | Go | [franz-go](https://github.com/twmb/franz-go) | | C/C++ | [librdkafka](https://github.com/confluentinc/librdkafka) | -> [!NOTE] -> -> Recommand using the latest version of each Kafka client +::: note + +Recommand using the latest version of each Kafka client + +::: ## Features not supported in Apache Kafka @@ -32,6 +36,8 @@ HStream do not support below Kafka features now(we plan to support them in the l - Kafka transactions - Quotas in Kafka -> [!NOTE] -> -> The configuration of Kafka brokers is not applicable to HStream, as HStream is a completely different implementation. +::: note + +The configuration of Kafka brokers is not applicable to HStream, as HStream is a completely different implementation. + +::: diff --git a/docs/develop-with-kafka-api/java.md b/docs/develop-with-kafka-api/java.md index 6e7293c..26121da 100644 --- a/docs/develop-with-kafka-api/java.md +++ b/docs/develop-with-kafka-api/java.md @@ -3,7 +3,7 @@ This page shows how to use [Apache Kafka Java Client](https://github.com/apache/kafka) to interact with HStream. -::: tip +::: note Replace the variables in the following code according to your setup. :::