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.

Reinstate `spring-cloud-stream-binder-kafka-test-support` artifact

See original GitHub issue

Currently, I have a bunch of Integration tests based on Spring Cloud Stream TestSupportBinder. But I want my tests to go deeper by binding directly to a kafka embedded instance.

I am seeing a lot of spring cloud stream projects refering to spring-cloud-stream-binder-kafka-test-support. Where I can find its rabbit mq sibling spring-cloud-stream-binder-rabbit-test-support, the former can’t be found. Did it ever exist?

In spring-cloud-stream-samples/multibinder there is an import for this module:

<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-stream-binder-rabbit-test-support</artifactId>
	<scope>test</scope>
</dependency>
<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-stream-binder-kafka-test-support</artifactId>
	<scope>test</scope>
</dependency>

It seems it should allow to import spring-kafka-test which contains KafkaEmbedded.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mbogoevicicommented, Feb 18, 2017

We will correct the samples to use the spring-kafka-test themselves.

0reactions
reda-alaouicommented, Feb 20, 2017

Thank you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Cloud Stream Kafka Binder Reference Guide
To avoid repetition, Spring Cloud Stream supports setting values for all channels, in the format of spring.cloud.stream.default.<property>=<value> . The ...
Read more >
Spring Cloud Stream Binder Kafka Test Support
Spring Cloud Stream Binder Kafka Test Support ; Apache 2.0 · supportbindingstreamingspringtestingkafkacloud · #275929 in MvnRepository (See Top Artifacts) · 1 ...
Read more >
Testing Spring Cloud Stream app with kafka-streams binder
This sample application demonstrates some potential ways to unit test a Kafka Streams application in Spring Cloud Stream. Take a look at the ......
Read more >
Spring Cloud Stream binders for Apache Kafka and ... - GitHub
To use Apache Kafka binder, you need to add spring-cloud-stream-binder-kafka as a dependency to your Spring Cloud Stream application, as shown in the ......
Read more >
spring-cloud-stream-binder-kafka : 3.0.13.RELEASE
spring -cloud-stream-binder-kafka - Kafka binder implementation.
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