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

migrate kcl-akka-stream 2.1.0=>4.1.1, kcl 1.8.10=>2.6.0 #4360

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

andrew-nowak
Copy link
Member

@andrew-nowak andrew-nowak commented Oct 30, 2024

What does this change?

We're using an old version of kcl-akka-stream, which was only ever released to bintray and so was committed directly into the repository when bintray was removed (see #3283). The earliest version of kcl-akka-stream that was released to Maven central is 4.1.1, which depends on kinesis-client-lib 2.x. Upgrade both together, to get onto a version which is both a) on Maven central and b) compatible with scala 2.13.

Note however that kcl-akka-stream is no longer maintained, and a Pekko alternative has not been created (see StreetContxt/kcl-akka-stream#191) which will be an annoyance for a Play 3.0 upgrade. (Technically it isn't required that we remove all usages of Akka to upgrade to Play 3.0, but it'd be very very nice if we could). To be dealt with at a later date.

Note also that this doesn't upgrade the version of the kinesis-client-library used in usage, since that uses rxscala (also no longer maintained) instead of Akka, so doesn't make use of kcl-akka-stream.

How should a reviewer test this change?

kcl-akka-stream is only used by Thrall - so try making some changes to data, or upload images etc. and check that the updates flow through to Thrall, which will then apply those updates onto the Elasticsearch index.

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

Copy link

github-actions bot commented Oct 30, 2024

@andrew-nowak andrew-nowak marked this pull request as ready for review October 31, 2024 14:46
@andrew-nowak andrew-nowak requested review from a team as code owners October 31, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant