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 | |
... | |
servers: | |
reallyproduction: | |
url: localhost:9092 | |
description: Production server | |
protocol: kafka-secure | |
protocolVersion: '1.0.0' | |
security: | |
- saslScramCreds: [] |
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 | |
... | |
servers: | |
reallyproduction: | |
url: localhost:9092 | |
description: Production server | |
protocol: kafka-secure | |
protocolVersion: '1.0.0' | |
security: | |
- creds: [] |
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:uk:dalelane:kafka:simple-demo' | |
... | |
servers: | |
production: | |
url: dale-kafka-bootstrap-exp.apps.superfamicom.cp.fyre.ibm.com:443 | |
protocol: kafka | |
protocolVersion: '1.0.0' | |
development: | |
url: dale-kafka-bootstrap-exp.apps.hartnell.cp.fyre.ibm.com:443 |
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:uk:dalelane:kafka:simple-demo' | |
... | |
servers: | |
production: | |
url: dale-kafka-bootstrap-exp.apps.superfamicom.cp.fyre.ibm.com:443 | |
protocol: kafka | |
protocolVersion: '1.0.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
asyncapi: '2.0.0' | |
id: 'urn:uk:dalelane:kafka:simple-demo' | |
... | |
servers: | |
broker0: | |
url: dale-broker-0:9092 | |
protocol: kafka | |
protocolVersion: '1.0.0' | |
broker1: | |
url: dale-broker-1:9092 |
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 | |
... | |
servers: | |
production: | |
url: localhost:9092 | |
protocol: kafka | |
protocolVersion: '1.0.0' | |
description: I run a production server on my laptop |
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 | |
... | |
servers: | |
someserverdescription: | |
... | |
anotherservername: | |
... |
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:uk:co:dalelane:somedemo:weatherevents' | |
... |
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/bash | |
# This script uses the kubectl-operator plugin | |
# Install it using the instructions at https://github.com/operator-framework/kubectl-operator | |
# ----------------------------------------------------------------------- | |
echo "Adding the IBM Common Services catalog source that provides pre-requisite operators" | |
oc operator catalog add \ |
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
// assumptions about the Scratch coordinate system | |
var SCRATCH_CANVAS_TOP = 180; | |
var SCRATCH_CANVAS_LEFT = -240; | |
var SCRATCH_CANVAS_RIGHT = 240; | |
var SCRATCH_CANVAS_WIDTH = SCRATCH_CANVAS_RIGHT - SCRATCH_CANVAS_LEFT; | |
// where is the top-left corner of the sprite we're interested in? | |
var costume = targetSprite.getCurrentCostume(); | |
var scratchX = targetSprite.x - costume.rotationCenterX; | |
var scratchY = targetSprite.y + costume.rotationCenterY; |