Skip to content

Instantly share code, notes, and snippets.

Avatar
🥋
"No matter how much 'karate' you know, someone else will always know more" -J.A.

Aykut M. Bulgu mabulgu

🥋
"No matter how much 'karate' you know, someone else will always know more" -J.A.
View GitHub Profile
@mabulgu
mabulgu / create_topic.sh
Last active Aug 10, 2020
Strimzi Kafka CLI: Managing Strimzi in a Kafka Native Way - Code Snippets
View create_topic.sh
bin/kafka-topics.sh --create --topic messages --partitions 24 --replication-factor 3 --zookeeper [zk_ip_here]:2181
View gist:3972509bdf73f160a7aa5f6f25b705bd
stage('Validate') {
openshift.withCluster(clusterName) {
openshift.withProject("${projectName}") {
def counter = 0
def delay = 10
def maxCounter = 1000
println "Validating deployment of ${appName} in project ${projectName}"
def latestDCVersion = openshift.selector("dc","${appName}").object().status.latestVersion
def rcName = "${appName}-${latestDCVersion}"
You can’t perform that action at this time.