Skip to content

Commit b885983

Browse files
committed
hotfix: add default NPARTITIONS to 1
1 parent c0b7661 commit b885983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rootfs/fink/bin/fink_simulator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ fi
8686
# Launch the simulator
8787
simulate_stream \
8888
-servers ${KAFKA_IPPORT} -topic ${KAFKA_TOPIC} -datasimpath ${FINK_DATA_SIM}\
89-
-tinterval_kafka ${TIME_INTERVAL} -nobservations ${NOBSERVATIONS} -npartitions ${NPARTITIONS}\
89+
-tinterval_kafka ${TIME_INTERVAL} -nobservations ${NOBSERVATIONS} -npartitions ${NPARTITIONS:-1}\
9090
-nalerts_per_obs $NALERTS_PER_OBS -external_schema=${EXTERNAL_SCHEMA}\
9191
-to_display ${DISPLAY_FIELD}

0 commit comments

Comments
 (0)