Quixstreams

Latest version: v2.5.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.5.0

What's Changed
Features
Checkpointing

`Checkpointing` is an overhaul of the previous commit structure. It is meant to better synchronize processing progress (i.e. committing topic offsets) and state updates to ensure consistency of the state.

It should also increase processing speed anywhere from 1.3x-2.5x due to its new batched commit approach.

To adjust this new commit frequency, users can set a (new) `commit_interval` (Default: 5 seconds):

python
app = Application(commit_interval=5)


For more details, [see the `Checkpoint` docs](https://quix.io/docs/quix-streams/advanced/checkpointing.html).


GroupBy

`GroupBy` enables users to "group" or "re-key" their messages based on the message value, typically to perform (stateful) aggregations on them (much like SQL).

With the new `StreamingDataFrame.group_by()`, you can do this while including other `StreamingDataFrame` operations before or after (so only one `Application` is needed):

python
data: {"user_id": "abc", "int_field": 5}
app = Application()
sdf = app.dataframe()
sdf["new_col"] = sdf["int_field"] + 1
sdf = sdf.group_by("user_id")
sdf = sdf.apply(lambda r: r["new_col"])
sdf = sdf.tumbling_window(duration_ms=3600).sum().final()
...etc...


Users can group by a column name, or provide a custom grouping function.

For more details, [see the `GroupBy` docs](https://quix.io/docs/quix-streams/groupby.html).



Enhancements
* Docs updates by stereosky in https://github.com/quixio/quix-streams/pull/344, https://github.com/quixio/quix-streams/pull/352
* add default error cb to Admin by tim-quix in https://github.com/quixio/quix-streams/pull/343


**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.4.2...v2.5.0

2.4.2

What's Changed

* Fix handling of topics created outside of Quix Cloud by tim-quix in https://github.com/quixio/quix-streams/pull/338
* Add clearer error messages for invalid SDF column name references by tim-quix in https://github.com/quixio/quix-streams/pull/322
* Better handling of topic creation errors in Quix Cloud by tim-quix in https://github.com/quixio/quix-streams/pull/337
* Use pyproject.toml instead of setup.cfg by tim-quix in https://github.com/quixio/quix-streams/pull/339

* Update docs by tbedford https://github.com/quixio/quix-streams/pull/325 https://github.com/quixio/quix-streams/pull/331
* Update README by stereosky https://github.com/quixio/quix-streams/pull/332 https://github.com/quixio/quix-streams/pull/335

**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.4.1...v2.4.2

2.4.1

What's Changed
* Fix 404s in README by daniil-quix in https://github.com/quixio/quix-streams/pull/328
* hotfix bug around undefined workspace id for Quix API class by tim-quix in https://github.com/quixio/quix-streams/pull/329


**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.4.0...v2.4.1

2.4.0

What's Changed
Features
Unified `Application` and `Application.Quix()` by tim-quix in https://github.com/quixio/quix-streams/pull/313
In previous versions, to connect to Quix Cloud brokers you needed to use a separate factory method to create an Application - `Application.Quix()`.
Due to that, developing apps with local Kafka and deploying them to Quix Cloud required additional code changes.
In this release, we improved that, and you now may use a single `Application()` class with different settings to connect both to Quix Cloud and standalone Kafka brokers.

See more about working with Quix Cloud in the docs - [Connecting to Quix Cloud](https://quix.io/docs/quix-streams/quix-platform.html)


Enhancements

* Improved Quix API error handling by tim-quix in https://github.com/quixio/quix-streams/pull/320
* Adjust producer flush docstring by tim-quix in https://github.com/quixio/quix-streams/pull/321
* New docs by daniil-quix in https://github.com/quixio/quix-streams/pull/315
* Update black formatter version by daniil-quix in https://github.com/quixio/quix-streams/pull/316


**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.3.3...v2.4.0

2.3.3

What's Changed
* Example Bugfix: Do not override state input on each update by alexmorley in https://github.com/quixio/quix-streams/pull/310
* Fix default replication_factor for topics created by Quix apps by daniil-quix in https://github.com/quixio/quix-streams/pull/317

New Contributors
* alexmorley made their first contribution in https://github.com/quixio/quix-streams/pull/310

**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.3.2...v2.3.3

2.3.2

What's Changed

Features
* Support GZIP compression of messages formatted in Quix formats by peter-quix in https://github.com/quixio/quix-streams/pull/305

Fixes
* Fix type hints and code completion by tim-quix in https://github.com/quixio/quix-streams/pull/292
* Allow processing of non-dict values in `StreamingDataFrame` by harisbotic in https://github.com/quixio/quix-streams/pull/307
* Skip processing of messages with `None` keys in windowed aggregations by harisbotic in https://github.com/quixio/quix-streams/pull/306

Enhancements
* Set the default value of consumer group to `'quixstreams-default'` in `Application` by harisbotic in https://github.com/quixio/quix-streams/pull/299
* Set a default value for `Quix__Portal__Api` env variable in Quix apps by harisbotic in https://github.com/quixio/quix-streams/pull/294
* Raise exception on` __bool__` checks in `StreamingDataFrame` by tim-quix in https://github.com/quixio/quix-streams/pull/295
* Don't set `ssl.endpoint.identification.algorithm` anymore for Quix apps by harisbotic in https://github.com/quixio/quix-streams/pull/293
* Update docs by stereosky in https://github.com/quixio/quix-streams/pull/300




**Full Changelog**: https://github.com/quixio/quix-streams/compare/v2.3.1...v2.3.2

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.