question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document GRPC starter + Kafka Stream usage

See original GitHub issue

Hi, I am having problem starting a spring cloud app using this project when no Kafka is available, which is normal in development. The app will hang until KafkaAdminClient times out after 60 s before the app is fully started.

What happens is that the bean grpcInternalConfigurator which is defined as a Consumer<ServerBuilder<?>> seems to request a Kafka Topic. This is because spring cloud streaming treats beans of Consumer, Supplier and Function as part of their messing system.

I am not sure if the intent of GRpcAutoConfiguration is to depend on this feature. From what I can tell it does not look so, however, I am a novice in this area so I could be wrong.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
jvmletcommented, Jun 17, 2021
1reaction
jvmletcommented, Jun 16, 2021

@jedvardsson , according to this, we will need to explicitly set the consumer/producer function definitions, no way to mark the Consumer/Produce/Function beans as not eligible for registration. I’ll commit the demo with test for this use case soon

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kafka Streams Interactive Queries and gRPC | Livestreams 017
Use the promo code LIVESTREAMS200 to receive an additional $200 of free Confluent Cloud usage : ...
Read more >
kaiwaehner/tensorflow-serving-java-grpc-kafka-streams - GitHub
This example executes a Java main method, i.e. it starts a local Java process running the Kafka Streams microservice.
Read more >
Creating Connector to Bridge the Worlds of Kafka ... - Confluent
In this talk, we will briefly focus on the advantages of using Connectors, creating new Connectors, and specifically spend time on gRPC sink...
Read more >
Producing Protobuf data to Kafka - Lenses.io
Publish Protobuf Data to Kafka Producer from a Java App preview on Lenses box and consume from NodeJS.
Read more >
Kafka Streams - The Complete Guide | Instaclustr
It can be readily deployed on the cloud in addition to container, VMs, and bare metal environments, and provides value to use cases...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found