We need to create at least two topics for the task definitions and the other for the scheduled tasks. By default, we are using the light-scheduler topic name. Create the following two topics with 5 partitions from the control center.
The default configuration files in the src/resources/config folder are for enterprise Kafka cluster connection with all the security properties. For local development, we have simplified kafka-producer.yml, kafka-streams.yml and values.yml in the config/local folder.
To run the light-scheduler server within the IDE or from the command line with local confluent. You need to set the JVM option to specify the config folder.
For example, you can start the server from the terminal.
mvn clean install -Prelease
java -Dlight-4j-config-dir=config/local -jar target/light-scheduler.jar
Request to create a task definition for health check every 10 seconds.