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": "cni0", | |
"plugins": [ | |
{ | |
"type": "flannel", | |
"delegate": { | |
"ipMasq": false, | |
"hairpinMode": true, | |
"isDefaultGateway": true | |
} |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: azure-vote-back | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: azure-vote-back | |
template: |
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
#!/bin/bash | |
wget https://s3.amazonaws.com/redshift-downloads/drivers/RedshiftJDBC42-1.2.1.1001.jar -P ~/Downloads | |
mv ~/Downloads/RedshiftJDBC42-1.2.1.1001.jar /usr/local/confluent/share/java/kafka-connect-jdbc/RedshiftJDBC42-1.2.1.1001.jar |
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
# | |
# Copyright 2016 Confluent Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
CREATE TABLE postgres_users | |
( | |
id INTEGER NOT NULL, | |
name VARCHAR(100) NOT NULL, | |
age INTEGER, | |
updated_at TIMESTAMP NOT NULL | |
); |
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
## | |
# Copyright 2015 Confluent Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
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
#!/bin/bash | |
wget /usr/local http://packages.confluent.io/archive/3.1/confluent-oss-3.1.2-2.11.tar.gz -P ~/Downloads/ | |
tar -zxvf ~/Downloads/confluent-oss-3.1.2-2.11.tar.gz -C ~/Downloads/ | |
sudo mv ~/Downloads/confluent-3.1.2 /usr/local/confluent |
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
INSERT INTO users (name, age) VALUES ('john', 26); | |
INSERT INTO users (name, age) VALUES ('jane', 24); | |
INSERT INTO users (name, age) VALUES ('julia', 25); | |
INSERT INTO users (name, age) VALUES ('jamie', 22); | |
INSERT INTO users (name, age) VALUES ('jenny', 27); |
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
CREATE TABLE users | |
( | |
id SERIAL NOT NULL, | |
name VARCHAR(100) NOT NULL, | |
age INTEGER, | |
updated_at TIMESTAMP NOT NULL DEFAULT NOW(), | |
PRIMARY KEY(id) | |
); |
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
--- | |
key_pair: ronak-nathani | |
instance_type: t2.medium | |
region: us-west-2 | |
security_group_id: sg-19127861 | |
num_instances: 3 | |
subnet_id: subnet-3a78835f | |
tag_key_vals: | |
Name: ronak-kafka-cluster | |
class: kafka |
NewerOlder