` events_mgmt` : need a way to add multiple EventsOfInterest when registering a new event consumer
- Lenguaje dominante
- Java
- Estrellas
- 7
- Forks
- 22
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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
Guía de contribución
Línea de trabajo
Comienza con RegistrationInputModel.builder(), addEventsOfInterests() y registrationService.createRegistration() en el ejemplo. Traza cómo se almacena EventsOfInterest durante el registro y, después, haz que el registro acepte varias combinaciones de ProviderId/EventCode. Se considera completado cuando un consumidor puede registrarse con más de un EventsOfInterest; verifícalo con un ejemplo o una prueba de Java 11 si existe alguno.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- api
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100