This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: create some vms | |
hosts: localhost | |
connection: local | |
vars_prompt: | |
- name: "vcenter_host" | |
prompt: "Enter vcenter host" | |
private: no | |
default: "vcsa" | |
- name: "vcenter_user" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can use the consumer script to verify that data is being received by the http listener (http_producer) on port 80 of the Kafka broker node. | |
sudo /usr/local/share/kafka/bin/kafka-console-consumer.sh --zookeeper [zk-private-ip]:2181 --topic [topic] --from-beginning | |
If you curl records at the kafka http listener, you should see them come out at the kafka broker node: | |
(On the Kafka listener node) | |
curl -XGET localhost:80 -d '{"name":"Bill","position":"Sales"}' |
NewerOlder