Skip to content

Commit

Permalink
fix(kafka-runner): missing server-type condition for scheduler in ord…
Browse files Browse the repository at this point in the history
…er to monitor their stream
  • Loading branch information
tchiotludo committed Jan 19, 2022
1 parent 4a95629 commit eb41090
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.util.stream.Collectors;

@Endpoint(id = "kafkastreams", defaultSensitive = false)
@Requires(property = "kestra.server-type", pattern = "(EXECUTOR|STANDALONE)")
@Requires(property = "kestra.server-type", pattern = "(EXECUTOR|STANDALONE|SCHEDULER)")
@KafkaQueueEnabled
public class KafkaStreamEndpoint implements ApplicationEventListener<KafkaStreamEndpoint.Event> {
private Map<String, KafkaStreamService.Stream> streams;
Expand Down

0 comments on commit eb41090

Please sign in to comment.