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 38dcb7e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nakadi-producer-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>nakadi-producer-reactor</artifactId>
<version>20.0.0</version>
<version>20.0.1</version>
</parent>

<artifactId>nakadi-producer-spring-boot-starter</artifactId>
Expand Down
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
2 changes: 1 addition & 1 deletion nakadi-producer-starter-spring-boot-2-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>nakadi-producer-reactor</artifactId>
<version>20.0.0</version>
<version>20.0.1</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion nakadi-producer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>org.zalando</groupId>
<artifactId>nakadi-producer-reactor</artifactId>
<version>20.0.0</version>
<version>20.0.1</version>
</parent>

<artifactId>nakadi-producer</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<artifactId>nakadi-producer-reactor</artifactId>
<groupId>org.zalando</groupId>
<version>20.0.0</version>
<version>20.0.1</version>
<packaging>pom</packaging>
<name>Nakadi Event Producer Reactor</name>

Expand Down

0 comments on commit 38dcb7e

Please sign in to comment.