Dankoy / jforwarder

Telegram bot for coub.com communities, tags and channels subscriptions.
https://t.me/coub_forwarder_bot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

refactor: Updated kafka configs #74

Closed Dankoy closed 9 months ago

Dankoy commented 9 months ago

Description

  1. Made kafka producer to use generic method for inherited child classes.
  2. Made kafka consumer use one container factory with filter strategies for message consuming.
  3. Added two listeners with different groups for consumer.
  4. Utilizes one topic but filtered by message header.

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist: