This file contains 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
# INSTALL ZMS | |
bin/setup_dev_zms.sh | |
sudo bin/zms start | |
sudo bin/zms stop | |
# INSTALL ZTS | |
bin/setup_dev_zts.sh 172.104.48.122 /root/athenz-zms-1.8.11/var/zms_server/certs/zms_cert.pem |
This file contains 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
{ | |
"url": "https://api.github.com/gists/408324817b197e9e6c3bc239e59fa880", | |
"forks_url": "https://api.github.com/gists/408324817b197e9e6c3bc239e59fa880/forks", | |
"commits_url": "https://api.github.com/gists/408324817b197e9e6c3bc239e59fa880/commits", | |
"id": "408324817b197e9e6c3bc239e59fa880", | |
"node_id": "MDQ6R2lzdDQwODMyNDgxN2IxOTdlOWU2YzNiYzIzOWU1OWZhODgw", | |
"git_pull_url": "https://gist.github.com/408324817b197e9e6c3bc239e59fa880.git", | |
"git_push_url": "https://gist.github.com/408324817b197e9e6c3bc239e59fa880.git", | |
"html_url": "https://gist.github.com/408324817b197e9e6c3bc239e59fa880", | |
"files": { |
This file contains 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
> bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning | |
Message 1 | |
Message 2 |
This file contains 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
> bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test | |
Message 1 | |
Message 2 |
This file contains 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
# Create topic with named "test" | |
bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic | |
# See topic test | |
bin/kafka-topics.sh --list --bootstrap-server localhost:9092 test |
This file contains 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
# 1. Download Kafka and Install | |
wget http://ftp.jaist.ac.jp/pub/apache/kafka/2.2.0/kafka_2.12-2.2.0.tgz | |
tar -xzf kafka_2.12-2.2.0.tgz | |
cd kafka_2.12-2.2.0 | |
# 2. Start Zookeeper server (in new terminal) | |
bin/zookeeper-server-start.sh config/zookeeper.properties & |
This file contains 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
# 1. Consume a message | |
sudo bin/pulsar-client consume my-topic -s "first-subscription" | |
# 2. Produce a message | |
sudo bin/pulsar-client produce my-topic --messages "hello-pulsar 2" |
This file contains 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
# 1. Install Java | |
sudo yum install java-1.8.0-openjdk | |
# 2. Download Apache Pulsar package | |
wget https://archive.apache.org/dist/pulsar/pulsar-2.4.0/apache-pulsar-2.4.0-bin.tar.gz | |
# 3. Unzip Apache Pulsar package | |
tar xvfz apache-pulsar-2.4.0-bin.tar.gz | |
# 4. Execute Apache Pulsar |
This file contains 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
resource_types: | |
- name: slack | |
type: docker-image | |
source: | |
repository: quay.io/ahelal/bender | |
tag: latest | |
resources: | |
- name: slack-deploy | |
type: slack |
This file contains 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
~/booklit $ fly -t ci execute -c ci/test.yml | |
executing build 1 at http://localhost:8080/builds/1 | |
initializing | |
booklit: 4.74 MiB/s 0s | |
running gopath/src/github.com/vito/booklit/ci/test | |
fetching dependencies... | |
installing ginkgo... | |
running tests... | |
█ |