Questions tagged [zio-streams]

17 questions
0
votes
1 answer

Integrating Zio-Kafka Consumers with Zio-Json deserializer

I'm studying the library zio-kafka, and I want to use zio-json to deserialize messages' values in JSON format. I have a simple case class together with its decoder and encoder: case class Player(name: String, score: Int) object Player { implicit…
riccardo.cardin
  • 7,971
  • 5
  • 57
  • 106
0
votes
1 answer

How to read messages from ZHub via ZStream?

I am new to ZHub and ZStream and wanted to familiarize myself with their APIs. Unfortnuately, I could not make this simple example work: for hub <- Hub.bounded[String](4) stream = ZStream.fromHub(hub) _ <- hub.publish("Hello") _ <-…
Lando-L
  • 843
  • 6
  • 19
1
2