Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

KafkaConnector - new connector #92

Open
adrianfilip opened this issue Oct 27, 2022 · 2 comments
Open

KafkaConnector - new connector #92

adrianfilip opened this issue Oct 27, 2022 · 2 comments

Comments

@adrianfilip
Copy link
Contributor

No description provided.

@tewecske
Copy link
Contributor

I'm confused, zio-kafka already works with ZStream/ZPipline/Chunk.
What should this do?

@adrianfilip
Copy link
Contributor Author

adrianfilip commented Oct 27, 2022

@tewecske
I was thinking of smth like this

trait KafkaConnector {

  def read(topic: => String): ZStream[Any, KafkaException, A]

}

package {
  def read(topic: => String): ZStream[KafkaConnector, KafkaException, A] = ???
}

case class LiveKafkaConnector(consumer: Consumer) implements KafkaConnector{
  ...
}

tewecske added a commit to tewecske/zio-connect that referenced this issue Oct 28, 2022
tewecske added a commit to tewecske/zio-connect that referenced this issue Oct 29, 2022
tewecske added a commit to tewecske/zio-connect that referenced this issue Oct 29, 2022
adrianfilip pushed a commit that referenced this issue Nov 22, 2022
adrianfilip added a commit that referenced this issue Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants