spring-cloud / spring-cloud/spring-cloud-bus

Describe the usage of custom events

Open
#270 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
Dominant language
Java
Stars
445
Forks
246
Avg merge
16h 25m
Merged PRs (30d)
5

Description

I have been looking for a way to submit events to all my microservices to have a loose coupling between services.

This could be, for example, a customer create event that gets sent around so that I don't have to know which microservices the event goes to yet in order to program the customer service. It can simply be intercepted by all services.

Well, for that I came across Spring Cloud Bus.

Unfortunately, however, it is nowhere explained in detail how to create the Custom Remote Events now.

What is the origin? What is the destination?
Why do the events need to be scanned in advance?

Is Spring Cloud Bus suitable for my scenario or should it be done differently?

I ask for answers to my questions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names Spring Cloud Bus and custom remote events but does not identify files or tests. Start by locating the custom remote event documentation and event definitions, then clarify event origin, destination, scanning requirements, and whether the described microservice scenario is supported. Done means these questions and the suitability guidance are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
distributed-systems, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.