` events_mgmt` : need a way to add multiple EventsOfInterest when registering a new event consumer
- Ngôn ngữ chính
- Java
- Star
- 7
- Fork
- 22
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### There should be a way to add multiple ProviderId/EventCode combinations when registering an event consumer using this library.
### Currently, there is no way to add multiple EventsOfInterest while registering an event consumer using this library. We need a way to
### Reproduce Scenario (including but not limited to)
Optional created = this.registrationService.createRegistration(
RegistrationInputModel.builder()
.description(this.eventConsumerConfig.event_registration_description())
.name(this.eventConsumerConfig.event_registration_name())
//Only allows one combination of provider and event code!
//What If i want to add more than one combination to listen to in this journal?
.addEventsOfInterests(EventsOfInterest.builder()
.setEventCode(this.eventConsumerConfig.aio_event_code())
.setProviderId(providerId).build())
);
#### Steps to Reproduce
See above
#### Platform and Version
Java 11
#### Sample Code that illustrates the problem
See above
#### Logs taken while reproducing problem
N/A because i cannot add multiple EventsOfInterest
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với RegistrationInputModel.builder(), addEventsOfInterests() và registrationService.createRegistration() trong ví dụ. Theo dõi cách EventsOfInterest được lưu trữ trong quá trình đăng ký, sau đó làm cho việc đăng ký chấp nhận nhiều tổ hợp ProviderId/EventCode. Hoàn thành khi một consumer có thể đăng ký với nhiều hơn một EventsOfInterest; hãy xác minh điều này bằng một ví dụ hoặc bài kiểm thử Java 11 nếu có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100