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

Issue when updating to snowplow-enrich-kinesis-4.0.0.jar #861

Closed
vishalrv1904 opened this issue Jan 30, 2024 · 1 comment
Closed

Issue when updating to snowplow-enrich-kinesis-4.0.0.jar #861

vishalrv1904 opened this issue Jan 30, 2024 · 1 comment

Comments

@vishalrv1904
Copy link

We are facing the below error while updating the Jar version to 4.0.0.Jar, The Previously actively working jar was snowplow-enrich-kinesis-3.9.0.jar. The same hocon file worked for the previous jar version.

Error:

[io-compute-1] ERROR com.snowplowanalytics.snowplow.enrich.common.fs2.Run - CLI arguments are valid but some of the configuration is not correct. Error: Cannot parse file enricher.config.hocon: application.conf @ jar:file:/usr/app/snowplow-enrich-kinesis-4.0.0.jar!/application.conf: 107: Document has trailing tokens after first object or array: '{' 

enricher.config.hocon

{
  "license": {
    "accept": true
  }

  "input": {
    "type": "Kinesis"

    "appName":  "collector-good-event-table"

    "streamName": "collected-good-events-stream"

    "region": "us-east-1"

    "initialPosition": {
      "type": "TRIM_HORIZON"
    }

    "retrievalMode": {
      "type": "Polling"
      "maxRecords": 5000
    }

    "bufferSize": 3

    "checkpointBackoff": {
      "minBackoff": 100 milliseconds
      "maxBackoff": 10 seconds
      "maxRetries": 10
    }
  }

  "output": {
    "good": {

      "type": "Kinesis"

      "streamName": "enriched-good-events-stream"

      "region": "us-east-1"

      "partitionKey": "event_id"

      "backoffPolicy": {
        "minBackoff": 1000 milliseconds
        "maxBackoff": 5000 milliseconds
        "maxRetries": 10
      }

      "throttledBackoffPolicy": {
        "minBackoff": 1000 milliseconds
        "maxBackoff": 5000 milliseconds
      }

      "recordLimit": 10

      "byteLimit": 1000000000

    }
    "bad": {

      "type": "Kinesis"

      "streamName": "enriched-bad-events-stream"

      "region": "us-east-1"

      "backoffPolicy": {
        "minBackoff": 1000 milliseconds
        "maxBackoff": 5000 milliseconds
        "maxRetries": 10
      }

      "throttledBackoffPolicy": {
        "minBackoff": 100 milliseconds
        "maxBackoff": 1 second
      }

      "recordLimit": 10

      "byteLimit": 1000000000
    }
  }
}
@miike
Copy link
Contributor

miike commented Jan 31, 2024

Hi @vishalrv1904 - as this is a support issue could you please post this on our Discourse forum? Thanks!

https://discourse.snowplow.io/

@miike miike closed this as completed Jan 31, 2024
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

No branches or pull requests

2 participants