-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Kafka tasks to docs * Added changes file * Fixed Kafka task __init__ * Added missing docstrings Co-authored-by: Alessandro Lollo <[email protected]>
- Loading branch information
1 parent
97742df
commit 57dbb11
Showing
4 changed files
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
enhancement: | ||
- "Added Kafka Tasks entry to website docs - (https://github.com/PrefectHQ/prefect/pull/5094)" | ||
|
||
contributor: | ||
- "[Alessandro Lollo](https://github.com/AlessandroLollo)" |
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,10 @@ | ||
""" | ||
This module contains a collection of tasks to produce and consume Kafka events | ||
""" | ||
|
||
try: | ||
from prefect.tasks.kafka.kafka import KafkaBatchConsume, KafkaBatchProduce | ||
except ImportError as err: | ||
raise ImportError( | ||
'Using `prefect.tasks.kafka` requires Prefect to be installed with the "kafka" extra.' | ||
) from err |
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