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
asyncapi: 2.6.0 | |
id: https://github.com/dalelane/my-asyncapi-v2-doc | |
info: | |
title: Modo Jeans order system | |
description: > | |
Need to write something here | |
### Using headers |
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
# | |
# Creating an Operator-managed deployment of Apache Flink | |
# | |
# | |
# permissions for running a Flink pod | |
# | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: Role | |
metadata: |
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
FROM flink:1.17.0 | |
# | |
# Add additional connectors not included in the default Flink image | |
# | |
# Kafka connectors | |
RUN wget -P /opt/flink/lib https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-kafka/1.17.0/flink-sql-connector-kafka-1.17.0.jar | |
# PostgreSQL connectors |
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
var sqlite3 = require('sqlite3').verbose(); | |
var db = new sqlite3.Database('data/demodb02'); | |
db.serialize(function() { | |
db.run("CREATE TABLE IF NOT EXISTS counts (key TEXT, value INTEGER)"); | |
db.run("INSERT INTO counts (key, value) VALUES (?, ?)", "counter", 0); | |
}); | |
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
version: "3" | |
services: | |
zookeeper: | |
platform: linux/amd64 | |
image: cp.icr.io/cp/ibm-eventstreams-kafka:11.1.2 | |
container_name: zookeeper | |
hostname: zookeeper | |
command: | |
[ |
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
asyncapi: 2.3.0 | |
# --- | |
id: 'urn:dalelane:stock-level-events' | |
# --- | |
info: | |
title: Stock level events |
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
asyncapi: 2.0.0 | |
# --- | |
id: 'urn:dalelane:stock-level-events' | |
# --- | |
info: | |
title: Stock level events |
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
# ------------------------------------------------------------------- | |
# update these to match your Event Endpoint Management instance | |
# ------------------------------------------------------------------- | |
NAMESPACE=eventendpointmanagement | |
INSTANCE=eem | |
echo "\n\033[1;33m getting SSL/TLS details for Event Gateway in...\033[0m" | |
echo "namespace : $NAMESPACE" | |
echo "instance : $INSTANCE" |
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
{ | |
"type": "record", | |
"namespace": "co.uk.dalelane", | |
"name": "TemperatureReading", | |
"fields": [ | |
{ | |
"name": "warehouse", | |
"type": { | |
"type": "enum", | |
"name": "Warehouse", |
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
asyncapi: '2.0.0' | |
id: 'urn:some:unique:id' | |
info: | |
title: The whole spec | |
... | |
servers: | |
nameofmycluster: | |
url: someaddress:port | |
protocol: kafka-secure | |
security: |