File tree Expand file tree Collapse file tree
tests/integration/cases/generic-kafka-function Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ zookeeper:
6464 cpu : 50m
6565
6666bookkeeper :
67- replicaCount : 0
67+ replicaCount : 1
6868 metadata :
6969 image :
7070 repository : streamnative/sn-platform
@@ -116,8 +116,10 @@ broker:
116116 autoSkipNonRecoverableData : " true"
117117 messagingProtocols : " kafka"
118118 protocolHandlerDirectory : " ./protocols"
119- kafkaListeners : " PLAINTEXT://0.0.0.0:9092"
120- kafkaAdvertisedListeners : " PLAINTEXT://sn-platform-pulsar-broker-0.sn-platform-pulsar-broker.default.svc.cluster.local:9092"
119+ PULSAR_PREFIX_kafkaListeners : " PLAINTEXT://0.0.0.0:9092"
120+ PULSAR_PREFIX_kafkaAdvertisedListeners : " PLAINTEXT://sn-platform-pulsar-broker-0.sn-platform-pulsar-broker.default.svc.cluster.local:9092"
121+ transactionCoordinatorEnabled : " true"
122+ systemTopicEnabled : " true"
121123 # storage settings
122124 managedLedgerDefaultEnsembleSize : " 1"
123125 managedLedgerDefaultWriteQuorum : " 1"
Original file line number Diff line number Diff line change 3232 outputSchemaConfig :
3333 type : string
3434 genericRuntime :
35- functionFile : /pulsar/functions/ exclamation_function.py
35+ functionFile : exclamation_function.py
3636 functionFileLocation : function://public/default/test-py-function
3737 language : python
3838 pulsarPackageService :
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ kubectl wait pod kafka-client --for=condition=Ready --timeout=2m || {
4848 exit 1
4949}
5050
51- ci::ensure_kafka_topic " ${input_topic} " " ${kafka_bootstrap_server} " " ${kafka_properties_file} "
52- ci::ensure_kafka_topic " ${output_topic} " " ${kafka_bootstrap_server} " " ${kafka_properties_file} "
51+ ci::ensure_kafka_topic " ${input_topic} " " ${kafka_bootstrap_server} " " ${kafka_properties_file} " > /dev/null 2>&1
52+ ci::ensure_kafka_topic " ${output_topic} " " ${kafka_bootstrap_server} " " ${kafka_properties_file} " > /dev/null 2>&1
5353kubectl apply -f " ${manifests_file} " > /dev/null 2>&1
5454
5555kubectl wait -l compute.functionmesh.io/name=generic-kafka-function --for=condition=Ready pod --timeout=2m || {
You can’t perform that action at this time.
0 commit comments