View create_topic.sh
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/kafka-topics.sh --create --topic messages --partitions 24 --replication-factor 3 --zookeeper [zk_ip_here]:2181 |
View gist:3972509bdf73f160a7aa5f6f25b705bd
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
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}" |