questdb / py-questdb-client

Python client for QuestDB InfluxDB Line Protocol
https://py-questdb-client.readthedocs.io
Apache License 2.0
55 stars 10 forks source link

is there an async sender.flush()? #64

Open sevenjay opened 8 months ago

sevenjay commented 8 months ago

When calling sender.flush(), is it possible to use an asynchronous approach?

amunra commented 8 months ago

I've drafted a PR for a SenderPool. I'm still deciding if this is a good way to go, since it would introduce a second alternative API for more advanced use cases.

I'd be happy to take some feedback.

See: https://github.com/questdb/py-questdb-client/pull/66