Hi Julian.
There is a "test"-driver associated with the "test:" protocol code. The
implementation is in
https://github.com/apache/incubator-plc4x/tree/master/plc4j/protocols/test.
I wrote the initial version to simplify testing the kafka connector, and
Christofer improved the code later. The driver simulates a "dummy"
device in the same client JVM process (no network connections will be
created). Just use "test:something" as the connection URL. If you want
to "read" a random integer, just use the query "RANDOM/foo:INTEGER" on
that connection.
Andrey
On 10/06/2018 09:21 PM, Julian Feinauer wrote:
Hey,
just had another thought.
I remember chris writing about a mysterious Dummy Driver (I think he said it
was implemented by Andrey, but I’m not sure).
Do we have some kind of documentation about it as it would really make (some
testing) a lot more easy?
Thanks already!
Julian