Skip to content

Commit

Permalink
Update Collector to v3.0.1 (closes #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeemster committed Feb 5, 2024
1 parent 6927559 commit 38b2007
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module "collector_kinesis" {
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The VPC to deploy the collector within | `string` | n/a | yes |
| <a name="input_accept_limited_use_license"></a> [accept\_limited\_use\_license](#input\_accept\_limited\_use\_license) | Acceptance of the SLULA terms (https://docs.snowplow.io/limited-use-license-1.0/) | `bool` | `false` | no |
| <a name="input_amazon_linux_2_ami_id"></a> [amazon\_linux\_2\_ami\_id](#input\_amazon\_linux\_2\_ami\_id) | The AMI ID to use which must be based of of Amazon Linux 2; by default the latest community version is used | `string` | `""` | no |
| <a name="input_app_version"></a> [app\_version](#input\_app\_version) | App version to use. This variable facilitates dev flow, the modules may not work with anything other than the default value. | `string` | `"2.9.2"` | no |
| <a name="input_app_version"></a> [app\_version](#input\_app\_version) | App version to use. This variable facilitates dev flow, the modules may not work with anything other than the default value. | `string` | `"3.0.1"` | no |
| <a name="input_associate_public_ip_address"></a> [associate\_public\_ip\_address](#input\_associate\_public\_ip\_address) | Whether to assign a public ip address to this instance | `bool` | `true` | no |
| <a name="input_bad_sqs_buffer_name"></a> [bad\_sqs\_buffer\_name](#input\_bad\_sqs\_buffer\_name) | The name of the bad sqs queue to use as an overflow buffer for kinesis | `string` | `""` | no |
| <a name="input_byte_limit"></a> [byte\_limit](#input\_byte\_limit) | The amount of bytes to buffer events before pushing them downstream | `number` | `1000000` | no |
Expand Down
47 changes: 21 additions & 26 deletions templates/config.hocon.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,30 +59,38 @@ collector {
enabled = false
}
streams {
good = ${good_stream_name}
bad = ${bad_stream_name}
useIpAddressAsPartitionKey = false
sink {
enabled = ${sink_type}
good {
name = ${good_stream_name}
region = ${region}
%{ if sink_type == "kinesis" && enable_sqs_buffer ~}
sqsGoodBuffer = "${good_sqs_buffer_name}"
sqsBadBuffer = "${bad_sqs_buffer_name}"
%{ endif ~}
threadPoolSize = 10
aws {
accessKey = iam
secretKey = iam
}
backoffPolicy {
minBackoff = 3000
maxBackoff = 10000
buffer {
byteLimit = ${byte_limit}
recordLimit = ${record_limit}
timeLimit = ${time_limit_ms}
}
}
buffer {
byteLimit = ${byte_limit}
recordLimit = ${record_limit}
timeLimit = ${time_limit_ms}
bad {
name = ${bad_stream_name}
region = ${region}
%{ if sink_type == "kinesis" && enable_sqs_buffer ~}
sqsBadBuffer = "${bad_sqs_buffer_name}"
%{ endif ~}
aws {
accessKey = iam
secretKey = iam
}
buffer {
byteLimit = ${byte_limit}
recordLimit = ${record_limit}
timeLimit = ${time_limit_ms}
}
}
}
telemetry {
Expand All @@ -99,16 +107,3 @@ collector {
instanceId = $${INSTANCE_ID}
}
}
akka {
loglevel = WARNING
loggers = ["akka.event.slf4j.Slf4jLogger"]
http.server {
remote-address-header = on
raw-request-uri-header = on
parsing {
max-uri-length = 32768
uri-parsing-mode = relaxed
}
max-connections = 2048
}
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ variable "name" {
variable "app_version" {
description = "App version to use. This variable facilitates dev flow, the modules may not work with anything other than the default value."
type = string
default = "2.9.2"
default = "3.0.1"
}

variable "config_override_b64" {
Expand Down

0 comments on commit 38b2007

Please sign in to comment.