-
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.
Add StateStoreManager and connect state to Application (#204)
- Add StateStoreManager to connect state and Application - Update the RocksDB storage backend - Always propagate errors from rebalancing callbacks
- Loading branch information
1 parent
99da535
commit 2e96c51
Showing
26 changed files
with
1,524 additions
and
169 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
1 change: 1 addition & 0 deletions
1
src/StreamingDataFrames/streamingdataframes/exceptions/__init__.py
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 +1,2 @@ | ||
from .base import * | ||
from .assignment import * |
14 changes: 14 additions & 0 deletions
14
src/StreamingDataFrames/streamingdataframes/exceptions/assignment.py
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from .base import QuixException | ||
|
||
__all__ = ("PartitionAssignmentError", "KafkaPartitionError") | ||
|
||
|
||
class PartitionAssignmentError(QuixException): | ||
""" | ||
Error happened during partition rebalancing. | ||
Raised from `on_assign`, `on_revoke` and `on_lost` callbacks | ||
""" | ||
|
||
|
||
class KafkaPartitionError(QuixException): | ||
... |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from .manager import * | ||
from .types import * |
13 changes: 13 additions & 0 deletions
13
src/StreamingDataFrames/streamingdataframes/state/exceptions.py
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from streamingdataframes.exceptions import QuixException | ||
|
||
|
||
class PartitionNotAssignedError(QuixException): | ||
... | ||
|
||
|
||
class StoreNotRegisteredError(QuixException): | ||
... | ||
|
||
|
||
class InvalidStoreTransactionStateError(QuixException): | ||
... |
Oops, something went wrong.