Comments (13)
+1 for this feature
from spring-cloud-stream-binder-kafka.
Looks like there are two issues being discussed here.
- late binding (detect the broker is down and do the provisioning later, perhaps on a schedule)
- allow integration tests to "pass" when there is no broker - I don't really understand how that will help - surely an integration test without a broker can never pass - spring-kafka-test provides the
KafkaEmbedded
JUnit rule which can be used in integration tests sample app here.
This issue is to address the first of these.
from spring-cloud-stream-binder-kafka.
Our MS tries to connect to Kafka every 30 seconds (re-try), but still the service is not up until kafka is up, should this be implemented? because we want the service to be up even if kafka is down and the late binding (re-try) should be under the hood every 30 seconds
from spring-cloud-stream-binder-kafka.
Looking forward for this feature as well
from spring-cloud-stream-binder-kafka.
if we got a switch, that would be perfect.
from spring-cloud-stream-binder-kafka.
Any idea when this will be supported? If I run an integration test on a build server, it will fail due to the lack of zookeeper infrastructure present. This particular integration test is intended to test that we can load the context. If we use the rabbitMQ binding then it works even through rabbitmq is not present.
Any way to disable it somehow. I hate to have to disable all these tests as they are handy to see if we screwed up things.
from spring-cloud-stream-binder-kafka.
I would be interested to get this feature too
from spring-cloud-stream-binder-kafka.
I'd be glad to use this feature in my integration tests
from spring-cloud-stream-binder-kafka.
@garyrussell Was KGH-12 sobychacko/spring-cloud-stream@54abf56 a solution to setup late binding?
Do we need to cfg autoStartUp() for the Kafka Output or InputBindingLifecycle to false, so application will late bind and then i need to do start() on that bean on ApplicationReadyEvent ? Howto be fast up/non blocking and then do retries with timeout?
from spring-cloud-stream-binder-kafka.
@cforce Please don't ask questions on old, closed, issues. In any case, GitHub issues are not for asking questions.
Ask questions on Stack Overflow, tagged with spring-cloud-stream.
from spring-cloud-stream-binder-kafka.
Is there any solution for this requirement?
from spring-cloud-stream-binder-kafka.
There isn't just no documentation about this.
Late binding is not working properly due to all the retries and timeouts taking several minutes before "giving up".
from spring-cloud-stream-binder-kafka.
@Xyaren I didn't find much documentation about it, but it does seem to work from a few minutes of trying it.
Want to explain the problem / open a new issue ?
from spring-cloud-stream-binder-kafka.
Related Issues (20)
- @EmbeddedKafka not working properly with GlobalKTable and transformer HOT 1
- Live producer threads and dynamic-destination-cache-size property HOT 2
- How to wait for future inside Kafka Stream map()? HOT 2
- DefaultErrorHandler not exists HOT 4
- ClassCastException in pipeline: Kafka Streams Function -> Kafka Function -> Kafka Streams Consumer HOT 5
- NOT_ENOUGH_REPLICAS Errors After Upgrading The Spring Boot And Spring Cloud Version HOT 5
- KafkaBinderMetrics prevent JVM shutdown due to not shutting down scheduler thread pool! HOT 8
- Kafka bindings from previous test class remains active in the next test class HOT 2
- Kafka Streams Serdes having nested generic doesn't work HOT 3
- Support for DLQ in batch mode HOT 1
- spring.cloud.stream.bindings.process-in-0.consumer.concurrency not working in case of UpperCase letter in process name HOT 1
- ListenerContainerWithDlqAndRetryCustomizer template points to localhost:9092 HOT 5
- Looking for a sample with AWS MSK IAM
- [Feature Request] Allow to accept a list of customizers instead of a unique one for KafkaMessageChannelBinder HOT 1
- spring-kafka-test is compile (not test) dependency of spring-cloud-stream-binder-kafka-streams:3.2.3 and 3.2.4
- Batch mode is not working HOT 1
- Unknown Autoconfigured KafkaAvroSerializer and KafkaAvroDeSerializers HOT 2
- Spring Cloud stream binder kafka DLQ Handling for Batching doesn't work HOT 2
- Enable DLQ with destinations as pattern
- Fetch message timestamp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-stream-binder-kafka.