Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka cloud events #125

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jekka001
Copy link

@jekka001 jekka001 commented Oct 22, 2024

Pull Request description

Use Kafka for cloud events in case KAFKA queue

  • Implemented the ability to use Apache Kafka for processing event and telemetry queues.
  • Maintained compatibility with existing mechanisms, allowing the transition to Kafka use config parameter queue.type: "kafka".

General checklist

  • You have reviewed the guidelines document.
  • Labels that classify your pull request have been added.
  • The milestone is specified and corresponds to fix version.
  • Description references specific issue.
  • Description contains human-readable scope of changes.
  • Description contains brief notes about what needs to be added to the documentation.
  • No merge conflicts, commented blocks of code, code formatting issues.
  • Changes are backward compatible or upgrade script is provided.
  • Similar PR is opened for PE version to simplify merge. Crosslinks between PRs added. Required for internal contributors only.

Back-End feature checklist

  • Added corresponding unit and/or integration test(s). Provide written explanation in the PR description if you have failed to add tests.
  • If new dependency was added: the dependency tree is checked for conflicts.
  • If new service was added: the service is marked with corresponding @TbCoreComponent, @TbRuleEngineComponent, @TbTransportComponent, etc.
  • If new REST API was added: the RestClient.java was updated, issue for Python REST client is created.
  • If new yml property was added: make sure a description is added (above or near the property).

@AndriiLandiak AndriiLandiak requested review from AndriiLandiak and volodymyr-babak and removed request for AndriiLandiak October 22, 2024 11:31
@AndriiLandiak AndriiLandiak added the enhancement New feature or request label Oct 22, 2024
@AndriiLandiak AndriiLandiak self-requested a review October 22, 2024 11:31
@jekka001 jekka001 changed the title [WIP] Kafka cloud events Kafka cloud events Oct 22, 2024
- Renamed BaseCloudEventService to PostgresCloudEventService and refactored it.
- Created KafkaCloudEventService.
- Created queues: tb_cloud_event and tb_cloud_event_ts.
- Refactored BaseUplinkMessageService.
- Created KafkaUplinkMessageService.
- Created TbCoreCloudEventProvider.

- Refactored all components that used these services.
- added KafkaContainerTestSuite for start tests in kafka queue type mode
- added service second service edge, kafka and zookeeper service to docker-compose
- refactored tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants