Enhancement
Major
Detail
Detail
TL-Sync is a Kafka-based communication protocol for sending KnowledgeBase content between TL applications.
Problem
TL-Sync is in the same project as the Kafka connection of TL. If a project only wants to use Kafka without TL-Sync, this is difficult to achieve. About 50 lines of configuration have to be written just to disable TL-Sync.
Improvement
TL-Sync should be extracted into a separate project. The projects previously based on tl-kafka should be adapted accordingly.
Implementation
- The new project is located in the directory com.top_logic.kafka.sync.
- The Maven name is tl-kafka-sync.
As the TL in TL-Sync already stands for TopLogic, tl-kafka-tlsync would be duplicated. The TL has therefore been omitted from the name at this point.
The existing test and demo projects for Kafka have been adapted to use tl-kafka-sync.
Code migration
All occurrences of tl-kafka and com.top_logic.kafka in all files must be checked to see if they need to be changed to tl-kafka-sync and com.top_logic.kafka.sync respectively.
Test
The existing tests in test.com.top_logic.kafka and test.com.top_logic.kafka.demo must continue to be error-free.