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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants