Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per queue config + ENV config #10

Merged
merged 15 commits into from
Dec 2, 2024
Merged

Per queue config + ENV config #10

merged 15 commits into from
Dec 2, 2024

Conversation

alextwoods
Copy link
Contributor

@alextwoods alextwoods commented Nov 26, 2024

Issue #, if available:
#4 #3

Description of changes:
Adds configuration per queue and allows configuration through the environment for both global and queue specific values.

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.

lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Outdated Show resolved Hide resolved
spec/aws/active_job/sqs/configuration_spec.rb Outdated Show resolved Hide resolved
.rubocop.yml Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Show resolved Hide resolved
lib/aws/active_job/sqs/configuration.rb Show resolved Hide resolved

# Don't use this method directly: Configuration is a singleton class, use
# +Aws::ActiveJob::SQS.config+ to access the singleton config.
# {}Aws::ActiveJob::SQS.config} to access the singleton config.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to be . for class methods

@alextwoods alextwoods merged commit 571c8b9 into version-1.0 Dec 2, 2024
13 of 15 checks passed
@alextwoods alextwoods deleted the per_queue_config branch December 2, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants