Skip to content

Commit

Permalink
Update Collector to v3.0.1 (closes #28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeemster committed Feb 1, 2024
1 parent 5ccacd3 commit 330acc6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module "collector_lb" {
| <a name="input_region"></a> [region](#input\_region) | The name of the region to deploy within | `string` | n/a | yes |
| <a name="input_topic_project_id"></a> [topic\_project\_id](#input\_topic\_project\_id) | The project ID in which the topics are deployed | `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_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.1"` | 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; if false this instance must be behind a Cloud NAT to connect to the internet | `bool` | `true` | no |
| <a name="input_byte_limit"></a> [byte\_limit](#input\_byte\_limit) | The amount of bytes to buffer events before pushing them to PubSub | `number` | `1000000` | no |
| <a name="input_cookie_domain"></a> [cookie\_domain](#input\_cookie\_domain) | Optional first party cookie domain for the collector to set cookies on (e.g. acme.com) | `string` | `""` | no |
Expand Down
40 changes: 14 additions & 26 deletions templates/config.hocon.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,23 +59,24 @@ collector {
enabled = false
}
streams {
good = ${good_topic_name}
bad = ${bad_topic_name}
useIpAddressAsPartitionKey = false
sink {
enabled = google-pub-sub
good {
name = ${good_topic_name}
googleProjectId = "${project_id}"
backoffPolicy {
minBackoff = 1000
maxBackoff = 1000
totalBackoff = 10000
multiplier = 1
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_topic_name}
googleProjectId = "${project_id}"
buffer {
byteLimit = ${byte_limit}
recordLimit = ${record_limit}
timeLimit = ${time_limit_ms}
}
}
}
telemetry {
Expand All @@ -92,16 +93,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.1"
default = "3.0.1"
}

variable "project_id" {
Expand Down

0 comments on commit 330acc6

Please sign in to comment.