robotframework-okw-kafka
Robot Framework keyword library for Apache Kafka integration testing — produce, consume, and verify messages using the OKW keyword pattern.
Deutsche Version: README_de.md
Signal vs. NOISE
| Signal (your test) | NOISE (hidden in YAML) |
|---|---|
KafkaSetValue $.action create |
Bootstrap servers, serializers |
KafkaConsume order-events TIMEOUT=30 |
Consumer group, offset config |
KafkaVerifyValue $.status completed |
SSL, authentication, partitions |
Install
pip install robotframework-okw-kafka
Minimal Example
*** Settings ***
Library okw_kafka.library.OkwKafkaLibrary
*** Test Cases ***
Order Event Roundtrip
KafkaStart kafka-local
KafkaSetTopic order-commands
KafkaSetValue $.action create
KafkaSetValue $.item Widget-42
KafkaProduce
KafkaConsume order-events FILTER=$.item=Widget-42 TIMEOUT=30
KafkaVerifyValue $.status created
KafkaMemorizeValue $.orderId ORDER_ID
KafkaStop
Keyword Pattern
The same pattern across all OKW technologies:
| Phase | GUI | REST | SSH | Kafka |
|---|---|---|---|---|
| Scope | SelectWindow |
RESTSelectEndpoint |
Open Remote Session |
KafkaSetTopic |
| Input | SetValue |
RESTSetValue |
Set Remote |
KafkaSetValue |
| Action | ClickOn |
RESTSendRequest |
Execute Remote |
KafkaProduce |
| Verify | VerifyValue |
RESTVerifyValue |
Verify Remote Response |
KafkaVerifyValue |
YAML Configuration
# configs/kafka-local.yaml
bootstrap_servers: "localhost:9092"
consumer_group: "okw-test"
auto_offset_reset: "latest"
value_serializer: "json"
value_deserializer: "json"
Keywords
Session
KafkaStart/KafkaStop
Produce
KafkaSetTopic,KafkaSetValue,KafkaSetValueAsStringKafkaSetHeader,KafkaSetKey,KafkaProduce
Consume
KafkaConsume(timeout-based polling, optional JSONPath filter)KafkaConsumeLatest
Verify
KafkaVerifyValue/KafkaVerifyValueWCM/KafkaVerifyValueREGXKafkaVerifyHeader,KafkaVerifyKey
Memorize
KafkaMemorizeValue,KafkaMemorizeKey
Admin
KafkaVerifyTopicExists,KafkaVerifyPartitionCount,KafkaLogTopics
Keyword Documentation
Runnable Examples
License
AGPL-3.0 — see LICENSE.
Metadata
Release files for robotframework-okw-kafka 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_okw_kafka-0.1.1.tar.gz | 13.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_okw_kafka-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / robotframework_okw_kafka-0.1.1.tar.gz
| Download URL | robotframework_okw_kafka-0.1.1.tar.gz |
|---|---|
| Size | 13.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ded85a6bef0b3cc32095fef160e3c5e36249a51f90202b56d0a2c2fdf83a199
|
|
BLAKE2b-256 checksum How to use checksums |
58ac751ea65e71e082a521083d70a349b4fa1f5a164558ff37a4c5042727103b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / robotframework_okw_kafka-0.1.1-py3-none-any.whl
| Download URL | robotframework_okw_kafka-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69eb536f0ecfacd7b0f210c2a537997e8d93156fafe9eaab4fb73173c8e49eda
|
|
BLAKE2b-256 checksum How to use checksums |
08fe2af2f2a17d4d147517b425659ae22450c99fafe1bd89697f0b1b3236369c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log