skunk
fs2-kafka
Our great sponsors
skunk | fs2-kafka | |
---|---|---|
4 | 3 | |
1,545 | 284 | |
1.2% | 0.4% | |
9.2 | 8.7 | |
2 days ago | about 22 hours ago | |
Scala | Scala | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
skunk
-
New to Scala;
The major performance issue with Skunk is tracked here. tl;dr prepared statements currently take a horrifying number of network round-trips to the database. I'm sympathetic to Rob's "what you see is what you get" priorities for Skunk. But I'm glad to see an outline of a plan that sounds like it would satisfy those objectives without being so, for lack of a better term, naïve in their pursuit.
-
Pleasant to use Scala libraries
The same creator is working on skunk, which is very exciting. Only works for Postgres though.
-
Zio / Zionomicon : is it worth it ?
The libraries doobie and skunk are more closely associated with cats. They both use cats-effect and fs2 for implementing database connectiona and input-output operations. The doobie library is a wrapper on JDBC, and as such is compatible with many DBMS, such as MySQL, PostgreSQL, H2, Oracle... Whereas skunk is specific to PostgreSQL, and is based on using the server protocol of that database.
fs2-kafka
- Any FS2 + Kafka github projects for reference?
-
Need the advice to choose: FS2 vs ZIO-streams
If you only need statless transformations, I guess that fs2, zio-streams, and alpakka kafka are good solutions, and it's just a matter of personal preference. But zio and fs2 are definitely lightwheight when you compare it with akka streams. I see a lot of comments against ZIO streams that are not supported by the facts, since https://github.com/zio/zio-kafka has more contributors than https://github.com/fd4s/fs2-kafka. Here are some materials if you want to learn more about zio-kafka: https://www.youtube.com/watch?v=GECv1ONieLw https://scalac.io/blog/streaming-microservices-with-zio-and-kafka/
What are some alternatives?
doobie - Functional JDBC layer for Scala.
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
doobie-quill - Integration between Doobie and Quill libraries
zio-kafka - A Kafka client for ZIO and ZIO Streams
zio-magic - Construct ZLayers automagically (w/ helpful compile-time errors)
Http4s - A minimal, idiomatic Scala interface for HTTP
fly4s - A lightweight, simple and functional wrapper of Flyway using cats effect.
Snowplow - The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP
pfps-examples - :izakaya_lantern: Standalone examples shown in the book "Practical FP in Scala: A hands-on approach"
parquet4s - Read and write Parquet in Scala. Use Scala classes as schema. No need to start a cluster.
pencil - Simple smtp client
todo-http4s-doobie - A sample project of a microservice using http4s, doobie, and circe.