-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
refactoringImproving code quality, paying off tech debt, aligning APIsImproving code quality, paying off tech debt, aligning APIs
Description
Background
should the init of the writes rather go to the handler_topic? this might go to the constructor of the handler
Originally posted by @oto-macenauer-absa in #93 (comment)
Based on this comment, I found the need of implementation the OOP approach inside the EventGate project for writer modules. This should be part of the refactoring process that not changes any existing logic. There are several rules that we need to implement:
- python classes for writers
- create a parent class for writers with method write
- there can not be any logic in the init, that can throw an exception
Feature
- OOP for writer classes with correct best practice approach
- simplification of the write logic in the HandlerTopic class with parent class
- new option will be unlocked to send the topic asynchronously and not sequential
Metadata
Metadata
Assignees
Labels
refactoringImproving code quality, paying off tech debt, aligning APIsImproving code quality, paying off tech debt, aligning APIs