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

No completions returned in the middle of the select chain #12937

Open
kasiaMarek opened this issue Jan 26, 2024 · 0 comments
Open

No completions returned in the middle of the select chain #12937

kasiaMarek opened this issue Jan 26, 2024 · 0 comments

Comments

@kasiaMarek
Copy link

Reproduction steps

//> using scala 2.13.12
//> using dep com.github.fd4s:fs2-kafka_2.13:1.11.0

import scala.concurrent.ExecutionContext
import cats.effect._
import fs2.kafka._

object TopicListener {
    implicit val cs = IO.contextShift(ExecutionContext.global)
    implicit val timer = IO.timer(ExecutionContext.global)
    val x = KafkaConsumer.stream(null.asInstanceOf[ConsumerSettings[IO, String, String]])
       .subscribeTo("asdasd")
       .@@  // 1 <- no completions here
       .records
       .@@  // 2 <- everything is fine
}

Problem

An empty list of completions is returned.

Here is the original issue in metals: scalameta/metals#5984

@SethTisue SethTisue added this to the 2.13.14 milestone Jan 26, 2024
@SethTisue SethTisue modified the milestones: 2.13.14, 2.13.15 Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants