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

Release 3.0 #652

Closed
wants to merge 286 commits into from
Closed

Release 3.0 #652

wants to merge 286 commits into from

Conversation

bplommer
Copy link
Member

Created for visibility of changes with 2.x

bplommer and others added 30 commits January 2, 2022 16:47
…ro-serializer-6.2.2

Update kafka-avro-serializer to 6.2.2 in series/3.x
…ainers-scala-kafka-0.39.12

Update testcontainers-scala-kafka, ... to 0.39.12 in series/3.x
…-2.2.24

Update sbt-mdoc to 2.2.24 in series/3.x
…-3.1.6

Update fs2-core to 3.1.6 in series/3.x
…ibrary-3.1.0

Update scala3-library to 3.1.0 in series/3.x
…oc-0.5.0

Update sbt-unidoc to 0.5.0 in series/3.x
…elease-1.5.10

Update sbt-ci-release to 1.5.10 in series/3.x
…ect-3.3.3

Update cats-effect, cats-effect-laws, ... to 3.3.3 in series/3.x
…-3.2.4

Update fs2-core to 3.2.4 in series/3.x
…ro-serializer-7.0.1

Update kafka-avro-serializer to 7.0.1 in series/3.x
…avro-serializer-7.0.1

Revert "Update kafka-avro-serializer to 7.0.1 in series/3.x"
…brary-2.13.8

Update scala-library to 2.13.8 in series/3.x
scala-steward and others added 28 commits April 25, 2023 14:49
Executed command: sbt tlPrePrBotHook
…elevel-0.4.20

Update sbt-typelevel to 0.4.20 in series/3.x
FakeFiber was used by KafkaConsumer to manage:

1. the consumerActor fiber, processing requests (including polls);
2. the pollScheduler fiber, scheduling poll requests (subject to
   backpressure);
3. a fiber combining the above two fibers.

Compared to a regular fiber, FakeFiber offered a method to combine two
fibers by racing them one against the other. The semantics were similar
to the race method for effects, but operating at the fiber level.

In KafkaConsumer, FakeFiber was used with cancellation effects that
returned immediately (i.e., fiber.cancel.start.void). In addition the
fiber outcome was relayed to KafkaConsumer.awaitTermination.

With this change FakeFiber is replaced with an Async[F].race of the
underlying effects. This is managed in the new method
startBackgroundConsumer, which builds upon effects assembled by
runConsumerActor and runPollScheduler. These effects are unwrapped from
the previous fibers.

As before, cancellation of the consumer effect is only waited on in
awaitTermination, where any errors are propagated.

Compared to the original behaviour of FakeFiber.combine, starting with
cats-effect 3.5.0, cancellation of one of the consumer effects will lead
to cancellation of both, as per changes introduced with
typelevel/cats-effect#3453. I'm not sure how
cancelation would come into play here, but the behaviour change looks
appropriate: without one of the racing fibers KafkaConsumer would not be
functional (no polls scheduled, or no requests/polls processed).
…a-plugin-1.1.3

Update sbt-mima-plugin to 1.1.3 in series/3.x
…lients-3.4.1

Update kafka-clients to 3.4.1 in series/3.x
…vro-serializer-7.3.4

Update kafka-avro-serializer to 7.3.4 in series/3.x
Bump CE and fs2 to the latest version
* Mark series/2.x as EOL

* Missing dot in `README.md`
* Update sbt-typelevel to 0.5.3 in series/3.x

* Exclude some Scala 3 compiler options added in 0.5.3
@aartigao
Copy link
Contributor

series/2.x reached end-of-life 🖖🏽

@aartigao aartigao closed this Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

8 participants