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

enrich-nsq: add S3 and GCS dependencies #793

Closed
benjben opened this issue Jul 4, 2023 · 0 comments
Closed

enrich-nsq: add S3 and GCS dependencies #793

benjben opened this issue Jul 4, 2023 · 0 comments

Comments

@benjben
Copy link
Contributor

benjben commented Jul 4, 2023

enrich-nsq can't download artifacts that are stored on S3 or GCS.

Example error with S3:

java.lang.IllegalStateException: No client initialized to download s3://snowplow-hosted-assets-proprietary-eu-central-1/third-party/com.iab/ip_exclude_current_cidr.txt
--
at com.snowplowanalytics.snowplow.enrich.common.fs2.io.Clients.download(Clients.scala:40)
at com.snowplowanalytics.snowplow.enrich.common.fs2.Assets$.downloadAndHash(Assets.scala:259)
at com.snowplowanalytics.snowplow.enrich.common.fs2.Assets$.$anonfun$download$1(Assets.scala:205)
at flatMap @ fs2.internal.FreeC$.$anonfun$compile$7(Algebra.scala:463)
at flatMap @ fs2.internal.FreeC$.go$1(Algebra.scala:460)
at flatMap @ fs2.internal.CompileScope.$anonfun$open$2(CompileScope.scala:146)
at map @ fs2.internal.CompileScope.open(CompileScope.scala:137)
at flatMap @ fs2.internal.CompileScope.open(CompileScope.scala:141)
at flatMap @ fs2.internal.FreeC$.$anonfun$compile$15(Algebra.scala:533)
at flatMap @ fs2.internal.FreeC$.$anonfun$compile$14(Algebra.scala:531)
at flatMap @ fs2.internal.FreeC$.interruptGuard$1(Algebra.scala:436)
at flatMap @ fs2.internal.FreeC$.$anonfun$compile$7(Algebra.scala:463)
at flatMap @ fs2.internal.FreeC$.go$1(Algebra.scala:460)
at flatMap @ fs2.internal.FreeC$.$anonfun$compile$7(Algebra.scala:463)
at flatMap @ fs2.internal.FreeC$.go$1(Algebra.scala:460)
at flatMap @ fs2.internal.CompileScope.$anonfun$acquireResource$4(CompileScope.scala:185)
at flatten$extension @ com.snowplowanalytics.snowplow.enrich.common.fs2.Run$.$anonfun$run$2(Run.scala:139)
at flatMap @ fs2.internal.CompileScope.$anonfun$acquireResource$1(CompileScope.scala:183)
at flatMap @ fs2.internal.CompileScope.acquireResource(CompileScope.scala:180)

We need that in snowplow-mini.

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

1 participant