News
Partitioning with RabbitMQ using Spring Cloud Stream
Partitioning in message queues is a mechanism that divides topics or queues into multiple partitions. Each partition stores a portion of the data, and this data is processed in parallel. This makes receiving and processing messages faster and more efficient! Apache Kafka supports partitioning natively,… Read More
Unit testing with Spring Cloud Stream
Spring Cloud Stream provides the `spring-cloud-stream-test-binder` dependency, allowing us to easily write unit tests for applications using Spring Cloud Stream without having to call actual message brokers. You can declare and use this `spring-cloud-stream-test-binder` dependency as follows: <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-stream-test-binder</artifactId> <scope>test</scope> </dependency> I’ll use the… Read More