Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Mar 15, 2023
1 parent ab03816 commit 33c6182
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

<!-- do not remove -->

## 0.2.3

- Fixed broken links on PyPi index page


## 0.2.2

### New Features
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ generating the documentation only and it is not being checked by the
actual server.

Next, an object of the
[`FastKafka`](https://airtai.github.io/fastkafka/0.2.2/api/fastkafka/FastKafka/#fastkafka.FastKafka)
[`FastKafka`](https://airtai.github.io/fastkafka/0.2.3/api/fastkafka/FastKafka/#fastkafka.FastKafka)
class is initialized with the minimum set of arguments:

- `kafka_brokers`: a dictionary used for generation of documentation
Expand Down Expand Up @@ -244,7 +244,7 @@ def to_predictions(species_class: int) -> IrisPrediction:
## Testing the service

The service can be tested using the
[`Tester`](https://airtai.github.io/fastkafka/0.2.2/api/fastkafka/testing/Tester/#fastkafka.testing.Tester)
[`Tester`](https://airtai.github.io/fastkafka/0.2.3/api/fastkafka/testing/Tester/#fastkafka.testing.Tester)
instances which internally starts Kafka broker and zookeeper.

Before running tests, we have to install Java runtime and Apache Kafka
Expand Down Expand Up @@ -416,9 +416,9 @@ def to_predictions(species_class: int) -> IrisPrediction:
To run the service, you will need a running Kafka broker on localhost as
specified by the `bootstrap_servers="localhost:9092"` parameter above.
We can start the Kafka broker locally using the
[`LocalKafkaBroker`](https://airtai.github.io/fastkafka/0.2.2/api/fastkafka/testing/LocalKafkaBroker/#fastkafka.testing.LocalKafkaBroker).
[`LocalKafkaBroker`](https://airtai.github.io/fastkafka/0.2.3/api/fastkafka/testing/LocalKafkaBroker/#fastkafka.testing.LocalKafkaBroker).
Notice that the same happens automatically in the
[`Tester`](https://airtai.github.io/fastkafka/0.2.2/api/fastkafka/testing/Tester/#fastkafka.testing.Tester)
[`Tester`](https://airtai.github.io/fastkafka/0.2.3/api/fastkafka/testing/Tester/#fastkafka.testing.Tester)
as shown above.

[INFO] fastkafka._testing.local_broker: LocalKafkaBroker.start(): entering...
Expand Down
2 changes: 1 addition & 1 deletion fastkafka/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.2"
__version__ = "0.2.3"
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/010_Application_export.ipynb.

# %% auto 0
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Python library ###
repo = fastkafka
lib_name = %(repo)s
version = 0.2.2
version = 0.2.3
min_python = 3.8
license = apache2

Expand Down

0 comments on commit 33c6182

Please sign in to comment.