-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stateful sources implementation (#615)
Enhance source connectors by allowing access to a kafka backed state * Implement stateful sources * Added support for creating changelog topics without a related "data" topic Stateful sources don't have an input topic on which to associate the changelog topic. The topic and recovery manager need to support a changelog topic with a topic set to None. * Added support for custom changelog topic configuration (instead of relying on the "data" topic configuration) When creating the changelog topic we use a configuration similar to the data topic configuration (replication factor, number of partitions, ...). As the data topic is in-existant for stateful sources we implement a way to create a changelog topic with a passed configuration.
- Loading branch information
1 parent
27e85d2
commit 38a4fd6
Showing
14 changed files
with
470 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
from .exceptions import SourceException | ||
from .manager import SourceManager | ||
from .multiprocessing import multiprocessing | ||
from .source import BaseSource, Source | ||
from .source import BaseSource, Source, StatefulSource | ||
|
||
__all__ = ( | ||
"Source", | ||
"BaseSource", | ||
"multiprocessing", | ||
"SourceManager", | ||
"SourceException", | ||
"StatefulSource", | ||
) |
Oops, something went wrong.