Kafka for dart?
Has anyone tried working with kafka in dart for a microservice? If yes what package do you use?
Has anyone tried working with kafka in dart for a microservice? If yes what package do you use?
Shipped mssql — a pure Dart TDS 7.4 driver for SQL Server. No FFI, no native extensions, just Dart and TCP.
Features: named params, connection pool, TLS, Azure AD auth, multiple result sets, streaming, transactions. 366 tests including concurrent pool stress tests and adversarial comparison against go-mssqldb and node-mssql.
dart pub add mssql
It works as a standalone driver today. The next step is switching knex_dart_mssql to use it as the underlying transport — which drops the C FFI dependency and makes the knex_dart MSSQL driver work on web.
knex_dart started as a port of Knex.js. Over time it has grown into something more than that - it takes the battle-tested API design and query-building maturity that Knex.js built over a decade and carries it forward for Dart and Flutter, with drivers, features, and platform targets that Knex.js itself never had to think about.
Today the project has eight drivers: PostgreSQL, MySQL, SQLite (native + WASM, with reactive watch() streaming), DuckDB, SQL Server, BigQuery, Snowflake, Turso/libSQL, and Cloudflare D1. Around that core there is an OpenTelemetry integration, a custom lint plugin with 15 dialect-aware static analysis rules, a browser playground for trying queries interactively, and a Jaspr-based docs site.
The codebase moves fast and the foundation is solid. What we need now is depth — and that is where contributors come in.
There is meaningful work at every level:
.claude/skills/) to encode contributor workflows. There is room to extend these.If you want to dig into something harder, there are also active engineering projects around driver internals — but those are not a requirement. There is plenty of high-value work that does not require knowing a wire protocol.
The architecture is documented in AGENTS.md and the playground is at https://playground.knex.mahawarkartikey.in.
Repo: https://github.com/kartikey321/knex-dart
Open an issue, leave a comment here, or DM me. Happy to point you at something that fits what you want to work on.
I have created a pr in Apache tinkerpop for a pure dart driver https://github.com/apache/tinkerpop/pull/3451
Lets hope it gets necessary attention and it gets merged. Incase it doesn't get merged i will publish this as standalone pub dev package
I opened a Dart SDK issue here: https://github.com/dart-lang/sdk/issues/63352
This is a discussion about backend runtime architecture for high-concurrency HTTP workloads.
I built an experimental PoC (dart-zig) where Dart stays at handler/business-logic level, and some HTTP hot-path runtime work is native- side (event loop, request framing/parsing, batched completions, process-per-worker with SO_REUSEPORT).
Initial HttpArena snapshot (AOT, throughput-focused):
| Test | Conn | dart:io RPS | dart-zig RPS | Relative |
|---|---|---|---|---|
| baseline | 512 | 601,780 | 1,353,265 | ~2.25x |
| baseline | 4096 | 583,020 | 1,665,927 | ~2.86x |
| pipelined | 512 | 998,153 | 1,364,400 | ~1.37x |
| pipelined | 4096 | 997,674 | 1,477,162 | ~1.48x |
Notes:
Also important: this is not a “replace dart:io” claim. I’m trying to discuss whether an official/experimental server-optimized runtime profile could make sense for Dart backend workloads, and what upstream criteria/hook points would be appropriate.
Would love feedback from people doing high-load Dart backend work.