-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial work * Fixes entities undefined * Fixes * Removes scheduled consumers in favor of long running processes * Fix name --------- Co-authored-by: Will Sheldon <[email protected]>
- Loading branch information
Showing
11 changed files
with
261 additions
and
92 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from ._version import __version__ # noqa |
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 @@ | ||
__version__ = "0.1.0" |
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,29 @@ | ||
from pydantic import Field | ||
from dispatch.config import BaseConfigurationModel | ||
|
||
|
||
class AWSSQSConfiguration(BaseConfigurationModel): | ||
"""Signal SQS configuration""" | ||
|
||
queue_name: str = Field( | ||
title="Queue Name", | ||
description="Queue Name, not the ARN.", | ||
) | ||
|
||
queue_owner: str = Field( | ||
title="Queue Owner", | ||
description="Queue Owner Account ID.", | ||
) | ||
|
||
region: str = Field( | ||
title="AWS Region", | ||
description="AWS Region.", | ||
default="us-east-1", | ||
) | ||
|
||
batch_size: int = Field( | ||
title="Batch Size", | ||
description="Number of messages to retrieve from SQS.", | ||
default=10, | ||
le=10, | ||
) |
Oops, something went wrong.