lib/delivery_boy/config.rb in delivery_boy-1.1.0 vs lib/delivery_boy/config.rb in delivery_boy-1.2.0
- old
+ new
@@ -18,11 +18,11 @@
integer :connect_timeout, default: 10
integer :socket_timeout, default: 30
# Delivery
integer :ack_timeout, default: 5
- integer :delivery_interval, default: 10
+ float :delivery_interval, default: 10
integer :delivery_threshold, default: 100
integer :max_retries, default: 2
integer :required_acks, default: -1
integer :retry_backoff, default: 1
boolean :idempotent, default: false
@@ -53,9 +53,15 @@
string :sasl_scram_mechanism
boolean :sasl_over_ssl, default: true
# SASL OAUTHBEARER
attr_accessor :sasl_oauth_token_provider
+
+ # AWS IAM authentication
+ string :sasl_aws_msk_iam_access_key_id
+ string :sasl_aws_msk_iam_secret_key_id
+ string :sasl_aws_msk_iam_aws_region
+ string :sasl_aws_msk_iam_session_token, default: nil
# Datadog monitoring
boolean :datadog_enabled
string :datadog_host
integer :datadog_port