How to add support for filtered subjects and durable options in the NATS connector for consumers?
I noticed that the subject
field does not apply to the consumer in the NATS connector. Mathew Haji made a pull request adding support for filtered_subjects
on the consumer and durable
support. How can I add this support in the NATS connector for consumers?
Mathew Haji
Asked on Mar 24, 2024
To add support for filtered subjects and durable options in the NATS connector for consumers, you can follow these steps:
-
Update the NATS connector code to include the new fields
filtered_subjects
anddurable
for consumers. -
Implement the logic to handle these new fields in the consumer code.
-
Test the changes to ensure that the filtered subjects and durable options work as expected.
-
Submit a pull request with the changes for review and integration into the main repository.