Starofall / RTX

Realtime experiment framework for self-adaptions in a big data environment
MIT License
3 stars 7 forks source link

Error: Not a valid changeProvider #4

Closed cyanxiao closed 1 year ago

cyanxiao commented 2 years ago

Experienced the same error as #3 suggested, and after changing the config according to the reply, it prompted:

> Starting RTX experiment...
######################################
> Workflow       | CrowdNav-Step
> KafkaProducer  | JSON | URI: localhost:9092 | Topic: crowd-nav-commands
> Error: Not a valid changeProvider

My changeProvider in examples/crowdnav-sequential/definition.py is:

change_provider = {
    "type": "kafka_producer",
    "kafka_uri": "localhost:9092",
    "topic": "crowd-nav-commands",
    "serializer": "JSON",
}

I'm using Kafka via Docker Desktop on macOS.