Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce "switch off all submission" toggle #175

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

ePaul
Copy link
Member

@ePaul ePaul commented Aug 3, 2023

This introduces a configuration property for completely switching off all submission to Nakadi
(including setting up the corresponding beans).

This came up as part of #170, but while writing the README, I found a separate use case for it,
so I make it a separate PR.

This includes the change from #176 ( ✔️ ), so it should be merged after that one.

@ePaul ePaul added enhancement auto-configuration everything about the auto-configuration features nakadi-submission spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+) and removed enhancement labels Aug 3, 2023
@ePaul ePaul force-pushed the disable-submission branch 3 times, most recently from da11710 to 72e8869 Compare August 3, 2023 16:43
README.md Outdated Show resolved Hide resolved
@ePaul ePaul marked this pull request as ready for review August 3, 2023 16:46
@ePaul ePaul requested a review from fbrns as a code owner August 3, 2023 16:46
Comment on lines -152 to +160
@Bean
public EventTransmitter eventTransmitter(EventTransmissionService eventTransmissionService) {
return new EventTransmitter(eventTransmissionService);
}
@ConditionalOnProperty(name="nakadi-producer.submission-enabled", havingValue = "true", matchIfMissing = true)
@EnableScheduling
@Configuration
static class TransmissionConfiguration {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a bit better when you disable whitespace in the diff.

@ePaul ePaul force-pushed the disable-submission branch 2 times, most recently from 8fe003a to dd3122a Compare August 8, 2023 09:45
@ePaul ePaul mentioned this pull request Aug 10, 2023
1 task
@ePaul ePaul force-pushed the disable-submission branch 3 times, most recently from 7c317f7 to a2b2a0e Compare August 15, 2023 15:16
- auto configuration
- test for non-existence of certain beans
- documentation
@ePaul ePaul force-pushed the disable-submission branch from a2b2a0e to a0d9138 Compare August 22, 2023 09:55
@ePaul

This comment was marked as duplicate.

1 similar comment
@ePaul
Copy link
Member Author

ePaul commented Aug 16, 2024

👍

@ePaul ePaul added the major label Oct 7, 2024
@Chuburashka
Copy link

👍

1 similar comment
@ePaul
Copy link
Member Author

ePaul commented Oct 14, 2024

👍

@ePaul ePaul merged commit e95bbc5 into master Oct 14, 2024
4 of 5 checks passed
@ePaul ePaul deleted the disable-submission branch October 14, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-configuration everything about the auto-configuration features major nakadi-submission spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants