This is an automated email from the ASF dual-hosted git repository.

abhishek 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 76e5048aab fix supervisor spec api submission commands (#14877)
76e5048aab is described below

commit 76e5048aabe2449d6e6607c41743502b5e50f657
Author: Giulio Talarico <[email protected]>
AuthorDate: Wed Aug 23 11:08:09 2023 +0200

    fix supervisor spec api submission commands (#14877)
---
 docs/tutorials/tutorial-kafka.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/tutorials/tutorial-kafka.md b/docs/tutorials/tutorial-kafka.md
index 93bcc0833d..9e74f467c4 100644
--- a/docs/tutorials/tutorial-kafka.md
+++ b/docs/tutorials/tutorial-kafka.md
@@ -268,13 +268,13 @@ You can also use the Druid API to submit a supervisor 
spec.
 1. Run the following command to download the sample spec:
 
    ```bash
-   curl -O 
https://druid.apache.org/docs/latest/assets/files/kttm-kafka-supervisor.json
+   curl -o kttm-kafka-supervisor.json 
https://raw.githubusercontent.com/apache/druid/master/docs/assets/files/kttm-kafka-supervisor.json
    ```
 
 2. Run the following command to submit the spec in the 
`kttm-kafka-supervisor.json` file:
 
     ```bash
-    curl -XPOST -H 'Content-Type: application/json' kttm-kafka-supervisor.json 
http://localhost:8081/druid/indexer/v1/supervisor
+    curl -X POST -H 'Content-Type: application/json' -d 
@kttm-kafka-supervisor.json http://localhost:8081/druid/indexer/v1/supervisor
     ```
 
     After Druid successfully creates the supervisor, you get a response 
containing the supervisor ID: `{"id":"kttm-kafka-supervisor-api"}`.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to