` events_mgmt` : need a way to add multiple EventsOfInterest when registering a new event consumer
- 主要言語
- Java
- スター
- 7
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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
コントリビューションガイド
調査の方向性
例では、RegistrationInputModel.builder()、addEventsOfInterests()、registrationService.createRegistration() から始めます。登録中に EventsOfInterest がどのように保存されるかを追跡し、そのうえで登録が複数の ProviderId/EventCode の組み合わせを受け付けるようにします。consumer が複数の EventsOfInterest を指定して登録できれば完了です。Java 11 の例またはテストが存在する場合は、それで確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100