Giter Site home page Giter Site logo

Comments (13)

codependent avatar codependent commented on July 25, 2024 5

+1 for this feature

from spring-cloud-stream-binder-kafka.

garyrussell avatar garyrussell commented on July 25, 2024 3

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.

Tal24 avatar Tal24 commented on July 25, 2024 3

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.

matanshukry avatar matanshukry commented on July 25, 2024 1

Looking forward for this feature as well

from spring-cloud-stream-binder-kafka.

LittleShrimp1987 avatar LittleShrimp1987 commented on July 25, 2024 1

if we got a switch, that would be perfect.

from spring-cloud-stream-binder-kafka.

ljramones avatar ljramones commented on July 25, 2024

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.

yrobert avatar yrobert commented on July 25, 2024

I would be interested to get this feature too

from spring-cloud-stream-binder-kafka.

ulrich-h-da avatar ulrich-h-da commented on July 25, 2024

I'd be glad to use this feature in my integration tests

from spring-cloud-stream-binder-kafka.

cforce avatar cforce commented on July 25, 2024

@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.

garyrussell avatar garyrussell commented on July 25, 2024

@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.

sweelam avatar sweelam commented on July 25, 2024

Is there any solution for this requirement?

from spring-cloud-stream-binder-kafka.

Xyaren avatar Xyaren commented on July 25, 2024

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.

matanshukry avatar matanshukry commented on July 25, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.