Skip to content

Commit

Permalink
Fix #92 - Submission to Nakadi does not work without @EnableScheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
BGehrels committed Aug 10, 2018
1 parent 6aa0d25 commit c271e58
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.zalando.fahrschein.NakadiClient;
import org.zalando.nakadiproducer.eventlog.EventLogWriter;
import org.zalando.nakadiproducer.eventlog.impl.EventLogRepository;
Expand All @@ -39,6 +40,7 @@

@Configuration
@AutoConfigureAfter(name="org.zalando.tracer.spring.TracerAutoConfiguration")
@EnableScheduling
public class NakadiProducerAutoConfiguration {

@ConditionalOnMissingBean({NakadiPublishingClient.class, NakadiClient.class})
Expand Down

0 comments on commit c271e58

Please sign in to comment.