abpframework / abpframework/abp
IDistributedEventBus publish event by string EventName
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I want to write a generally used api for publishing any events. And it's a microservice, so it's hard to access the EventType.
can I publish event by eventName and json object data.
Describe the solution you'd like
Volo.Abp.EventBus.Distributed.IDistributedEventBus add a method like:
Task PublishAsync(string eventName, object eventData);
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the IDistributedEventBus interface and trace the existing distributed event publishing entry points. Determine how event names and object data should be resolved and serialized across the microservice boundary, then verify that the new API has defined behavior for successful and invalid publishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100