Farfetch / kafkaflow-retry-extensions

Kafka Flow Retry Patterns Extensions
https://farfetch.github.io/kafkaflow-retry-extensions/
MIT License
57 stars 7 forks source link

[Feature Request]: Be able to define more than one message type for a topic #119

Open sergioamribeiro opened 1 year ago

sergioamribeiro commented 1 year ago

Is your request related to a problem you have?

Yes. We are using an Avro consumer with one topic that consumes more than one contract and we cannot register with the existing method WithMessageType more than 1 contract.

Describe the solution you'd like

The method below should accept more than one message type. The class is RetryDurableDefinitionBuilder

public RetryDurableDefinitionBuilder WithMessageType(Type messageType)
      {
          this.messageType = messageType;
          return this;
      }

Are you able to help bring it to life and contribute with a Pull Request?

No

Additional context

No response