You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by fr...@apache.org on 2024/05/11 09:53:01 UTC
(druid) branch master updated: update protobuf.md (#16434)
This is an automated email from the ASF dual-hosted git repository.
frankchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 811dcd17261 update protobuf.md (#16434)
811dcd17261 is described below
commit 811dcd1726145ff083a514347d8502aba69ab731
Author: Alberic Liu <al...@gmail.com>
AuthorDate: Sat May 11 02:52:54 2024 -0700
update protobuf.md (#16434)
---
docs/development/extensions-core/protobuf.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/development/extensions-core/protobuf.md b/docs/development/extensions-core/protobuf.md
index 08b9cc1185f..5e6fefbdd6c 100644
--- a/docs/development/extensions-core/protobuf.md
+++ b/docs/development/extensions-core/protobuf.md
@@ -99,7 +99,7 @@ This feature uses Confluent's Protobuf provider which is not included in the Dru
- https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.4.0/kotlin-stdlib-1.4.0.jar
- https://repo1.maven.org/maven2/com/squareup/wire/wire-schema/3.2.2/wire-schema-3.2.2.jar
-Copy or symlink those files inside the folder `extensions/protobuf-extensions` under the distribution root directory.
+Copy or symlink those files inside the folder `extensions-core/protobuf-extensions` under the distribution root directory.
## Create Kafka Supervisor
@@ -251,7 +251,7 @@ Important supervisor properties
If necessary, from your Kafka installation directory run the following command to create the Kafka topic
```
-./bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic metrics_pb
+./bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic metrics_pb
```
This example script requires `protobuf` and `kafka-python` modules. With the topic in place, messages can be inserted running the following command from your Druid installation directory
@@ -263,7 +263,7 @@ This example script requires `protobuf` and `kafka-python` modules. With the top
You can confirm that data has been inserted to your Kafka topic using the following command from your Kafka installation directory
```
-./bin/kafka-console-consumer --zookeeper localhost --topic metrics_pb
+./bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic metrics_pb --from-beginning
```
which should print messages like this
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org