Skip to main content

robotframework exetension lib for test kafka

Project description

robot-kafka-library

robot framework extension test kafka message queue system

https://pypi.org/project/robot-kafka-library/

How to Use

pip install robot-kafka-library

Import into project file : example.robot

Library    RobotKafkaLibrary.Producer
Library    RobotKafkaLibrary.Consumer

*** Test Cases ***
Test producer topic test publish message1
    ${RESULT} =     Publish  {broker-ip}:{port}   {topic}   {message}
    log    ${RESULT}
    Log to console   ${RESULT}

Test consumer topic test subscribe message1
    ${MSG} =     Subscribe  {broker-ip}:{port}   {topic}   {option-timeout}
    log    ${MSG}
    Log to console   ${MSG}

Example Result

alt text

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robot-kafka-library-0.0.4.tar.gz (2.1 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page