Skip to content

Commit 2ee2fe3

Browse files
authored
chore: release v0.18.0 (#536)
1 parent bb5999f commit 2ee2fe3

6 files changed

Lines changed: 3076 additions & 2231 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 0.18.0
6+
7+
### Add
8+
9+
- improve topic creation api (#528)
10+
511
## 0.17.0
612

713
### Add

Cargo.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "_fluvio_python"
3-
version = "0.17.0"
3+
version = "0.18.0"
44
edition = "2021"
55
authors = ["Fluvio Contributors <team@fluvio.io>"]
66

@@ -38,13 +38,14 @@ url = "2.5.0"
3838
webbrowser = "1.0.0"
3939

4040
fluvio-future = { version = "0.7.0", features = ["task", "io", "native_tls", "subscriber"] }
41-
fluvio = { features = ["admin", "rustls"], git = "https://github.com/infinyon/fluvio.git", tag = "v0.12.1" }
42-
fluvio-protocol = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.12.1" }
43-
fluvio-types = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.12.1" }
44-
fluvio-sc-schema = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.12.1" }
45-
fluvio-controlplane-metadata = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.12.1" }
41+
fluvio = { features = ["admin", "rustls"], git = "https://github.com/infinyon/fluvio.git", tag = "v0.14.0" }
42+
fluvio-protocol = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.14.0" }
43+
fluvio-types = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.14.0" }
44+
fluvio-sc-schema = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.14.0" }
45+
fluvio-controlplane-metadata = { git = "https://github.com/infinyon/fluvio.git", tag = "v0.14.0" }
4646

4747
# transitive version selection
4848
parking_lot = "0.12.3"
4949
bytes = { version = "1.8.0" }
50-
futures-util = { version = "0.3.6", default-features = false }
50+
futures-util = { version = "0.3.6", default-features = false }
51+
dotenv = "0.15.0"

docs/fluvio.html

Lines changed: 3037 additions & 2222 deletions
Large diffs are not rendered by default.

docs/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fluvio/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@
55
This module builds on top of the Fluvio Client Rust Crate and provides a
66
pythonic access to the API.
77
8+
9+
Creating a topic with default settings is as simple as:
10+
11+
```python
12+
fluvio_admin = FluvioAdmin.connect()
13+
fluvio_admin.create_topic("a_topic")
14+
```
15+
16+
Or just create a topic with custom settings:
17+
18+
```python
19+
import fluvio
20+
21+
fluvio_admin = FluvioAdmin.connect()
22+
topic_spec = (
23+
TopicSpec.create()
24+
.with_retention_time("1h")
25+
.with_segment_size("10M")
26+
.build()
27+
)
28+
fluvio_admin.create_topic("a_topic", topic_spec)
29+
```
30+
831
Producing data to a topic in a Fluvio cluster is as simple as:
932
1033
```python

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="fluvio",
9-
version="0.17.0",
9+
version="0.18.0",
1010
long_description=open("README.md").read(),
1111
long_description_content_type="text/markdown",
1212
author="Fluvio Contributors",

0 commit comments

Comments
 (0)