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
#!/usr/bin/env python3 | |
import asyncio | |
import random | |
import string | |
import json | |
import paho.mqtt.client as mqtt | |
broker = 'localhost' | |
port = 1883 | |
alhabet = string.ascii_lowercase+string.digits |
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
const mqtt = require("mqtt"); | |
const url = 'mqtts://127.0.0.1:8883' | |
const options = { | |
clean: true, | |
connectTimeout: 1000, | |
clientId: 'emqx_test', | |
username: 'emqx_test', | |
password: 'emqx_test', | |
rejectUnauthorized: false, |
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
FROM gcr.io/datadoghq/agent:latest | |
RUN agent integration install -r -t datadog-emqx==1.0.0 |
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
authorization { | |
deny_action = ignore | |
no_match = deny | |
sources = [ | |
{ | |
body { | |
username = "${username}" | |
} | |
enable = true | |
headers { |
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
provider "google" { | |
project = "<project_id>" | |
region = "europe-central2" | |
} | |
variable "project_id" { | |
type = string | |
} | |
variable "region" { |
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
#!/usr/bin/env bash | |
set -xeuo pipefail | |
apt update && apt install -yyq unixodbc-dev odbcinst wget unixodbc libreadline8 | |
wget -nc 'https://sfc-repo.snowflakecomputing.com/odbc/linux/3.3.2/snowflake-odbc-3.3.2.x86_64.deb' | |
apt install -y ./snowflake-odbc-3.3.2.x86_64.deb | |
ODBC_INST_LIB=/usr/lib/x86_64-linux-gnu/libodbcinst.so | |
sed -i -e "s#^ODBCInstLib=.*#ODBCInstLib=$ODBC_INST_LIB#" /usr/lib/snowflake/odbc/lib/simba.snowflake.ini |
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.emqx.io/v2beta1 | |
kind: EMQX | |
metadata: | |
name: emqx | |
spec: | |
image: emqx/emqx-enterprise:5.6.0 | |
config: | |
data: | | |
log.console.level = debug | |
connectors { |
OlderNewer