Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 29 2021 00:15
    masonedmison starred Spinoco/fs2-kafka
  • Mar 24 2021 04:23
    kevinalh starred Spinoco/fs2-kafka
  • Jan 28 2021 23:41
    mebubo starred Spinoco/fs2-kafka
  • Jan 17 2021 14:53
    PengLoveHONG starred Spinoco/fs2-kafka
  • Nov 07 2020 05:55
    nachocodexx starred Spinoco/fs2-kafka
  • May 08 2020 19:25
    ostronom closed #27
  • May 08 2020 19:18
    ostronom opened #27
  • Mar 14 2020 14:26

    AdamChlupacek on v0.4.0-M4

    (compare)

  • Mar 14 2020 14:26

    AdamChlupacek on 0.4-spinoco-compat

    Setting version to 0.4.0-M4 Setting version to 0.4.0-SNAPSH… (compare)

  • Mar 14 2020 13:34

    mraulim on 0.4-spinoco-compat

    Add timeout for publishing in k… Added trusty as a dist for runn… Fixed timeout on leader query. and 2 more (compare)

  • Mar 14 2020 13:34
    mraulim closed #26
  • Mar 14 2020 09:31
    AdamChlupacek synchronize #26
  • Mar 14 2020 09:31

    AdamChlupacek on publish-connection-timeout

    Add timeout for leaders stream. (compare)

  • Mar 13 2020 18:47
    AdamChlupacek synchronize #26
  • Mar 13 2020 18:47

    AdamChlupacek on publish-connection-timeout

    Fixed timeout on leader query. (compare)

  • Mar 13 2020 17:16
    AdamChlupacek synchronize #26
  • Mar 13 2020 17:16

    AdamChlupacek on publish-connection-timeout

    Added trusty as a dist for runn… (compare)

  • Mar 13 2020 17:13
    AdamChlupacek review_requested #26
  • Mar 13 2020 17:13
    AdamChlupacek opened #26
  • Mar 13 2020 17:07

    AdamChlupacek on publish-connection-timeout

    Add timeout for publishing in k… (compare)

Vinayak Pathak
@vinayakpathak
Okay I'll give it a shot then
Pavel Chlupacek
@pchlupacek
generally the 0.10 version of kafka was imho never used a lot. In our production code we were at 0.9 release for a long time, and now we went straight to 1.0
Vinayak Pathak
@vinayakpathak
you mean 0.10 version of fs2 right?
Pavel Chlupacek
@pchlupacek
yes
the 0.4.0 of fs2-kafka will get likely synced with latest fs2 next week,
so no you are i think on M3
1.0.0-M3
Vinayak Pathak
@vinayakpathak
fs2-kafka's readme says M4
looks like it's going to be fs2-kafka v0.4.0-M3, which will depend on fs2 1.0.0-M4
Pavel Chlupacek
@pchlupacek
This seems to be messed up. @AdamChlupacek can you please take a look?
Adam Chlupacek
@AdamChlupacek
Well kafka 0.4.0-M2 is compatible with fs2 1.0.0-M3, that is why there is not kafka M3. So either we skip M3 for kafka so that we sync the milestone tag with fs2, or just release M3 kafka to be compatible with M4 fs2. No idea if current kafka (M2) is compatible with fs2 M4 :/
Pavel Chlupacek
@pchlupacek
I think m2 and m4 us not binary compatible.
Daniel Karch
@danielkarch
Hi, do you think a version compatible with fs2 1.0.0-M5 will be released soon?
Pavel Chlupacek
@pchlupacek
Sorry @danielkarch. At this moment we are trying to get last changes to fs2 to release RC1 of fs2. If possible that that would be the next target release for fs2-kafka. Sorry for inconvinience.
Daniel Karch
@danielkarch
Okay, thank you.
Calvin Brown
@calvinbrown085
Hi All, why does the publish* methods need the key and the value to be a ByteVector ?
Adam Chlupacek
@AdamChlupacek
Hey there @calvinbrown085 , There are two point to answer that, first of all, it is a ByteVector, not a ByteBuffer of Array[Byte] as ByteVector provides us with much high level API to operate over the bytes in it. As well it is immutable, so it makes it much easier to reason about. Second, we do not take some abstract A, because we want the user to deal with encoding errors. This is basically the gist of it.
Calvin Brown
@calvinbrown085
:thumbsup:
Ernesto Periñán
@eperinan
hi all!! I'm trying to publish to a topic that it's not created yet, expecting the producer be able to create on the fly. Does anyone addressing this problem before? I've been checking the method and it's returning and F[Long] but I'm consider IMHO it should return a F[Either[E,Long]]. In my case, I'm getting the error LeaderNotAvailable which it should be encapsulated within E. Am I missing something?? I know that README talks about "leaves it up to the user to choose any the retry mechanism". any suggestions?
Pavel Chlupacek
@pchlupacek
@eperinan we do not implement kafka tooling in the fs2-kafka. So you have to create this manually. There is some tooling in tests that can help you do so, or you may use standard tooling available in kafka.
re the method, which one are you referring to ?
Ernesto Periñán
@eperinan
Thanks for your quick reply
I mean that we are not handling the exceptions in this method. IMHO, it is really intresting. What do you think?
Pavel Chlupacek
@pchlupacek
note that KafkaClient to be created requires an F : Concurrent, concurrent actually extends MonadError/ApplicativeError where E is defined as Throwable. So in fact this Either[Throwable, Long] is already there :-)
So if you want to handle error just use attempt and you get that either you asking for :-)
Ernesto Periñán
@eperinan
That sounds great for me!
Really thanks @pchlupacek I didn't take theconcurrent into account
I am going to review it. Thanks, you are awesome :muscle:
Pavel Chlupacek
@pchlupacek
np glad I can help
Daniel Karch
@danielkarch
Hi, I saw that the series/0.4 branch has been updated to fs2 1.0.0. Do you know when there might be a release ready?
Pavel Chlupacek
@pchlupacek
@danielkarch the issue why we did not release it yet, is that we couldn’t have stable travis build. We are still investigating the cause of this.
once that will be resolved we will issue a release.
Sorry for that
Daniel Karch
@danielkarch
Ah, I see. Thanks for letting me know.
Daniel Karch
@danielkarch
Hi, any news on this? We are now planning to publish to our own repository and depend on that, but I wanted to ask if you know when an official release might be happening.
Pavel Chlupacek
@pchlupacek
Daniel, we did not focus on this recently. Thanks for pinging this out. When you need this to be stable? We would push it forward.
Daniel Karch
@danielkarch
We want to start using it in production in January, but for now we can live with a version that we publish ourselves to our repo.
Pavel Chlupacek
@pchlupacek
ok, understand we will prioritise this and make sure this will get stable in week or so.
Daniel Karch
@danielkarch
Great, thank you!
countfloyd
@countfloyd
Hey everybody, just looking to use fs2-kafka in a project and wondering about the ovotech/fs2-kafka project. It seems to wrap the kafka client drivers. Why would I use one over the other? https://github.com/ovotech/fs2-kafka
Daniel Karch
@danielkarch
I asked this question in the fs2 channel and Fabio explained it. You might find it with the search.
countfloyd
@countfloyd
Great thanks @danielkarch
countfloyd
@countfloyd
Is it possible to subscribe to a topic and get a finite stream of just the already published messages? The example in the README doesn’t work because of course all of the messages will have offset <= next
This seems to work:
Stream.eval(client.offsetRangeFor(topic("offsets"), partition(0))).flatMap { case (first, next) =>
      val num = next - first
      println(s"F: $first, L: $next, N: $num")
      client.subscribe(topic("offsets"), partition(0), first).take(num)
    }
vlmiroshnikov
@vlmiroshnikov
Hi, I saw that the series/0.4 branch has been updated to fs2 1.0.0. Do you know when there might be a release ready?
Adam Chlupacek
@AdamChlupacek
@vlmiroshnikov @danielkarch I have just updated dependencies on the series/0.4, will wait for travis to see if the tests that were failing there before are now green, if so, I will get this merged today and released by the end of the day.
Adam Chlupacek
@AdamChlupacek
@/all fs2-kafka 4.0.0 released
Alex Cruise
@acruise
you mean 0.4.0?
btw would you consider this library reasonably production-ready? :)