splatch commented on issue #1373: URL: https://github.com/apache/plc4x/issues/1373#issuecomment-1919726482
FYI I've implemented decorator over PLC4X 0.8 and 0.11 APIs which throttle requests independently of drivers. All you need to do is to wrap PLC4X connection into `DecoratorConnection` and pass read decorator (first argument), see example construction: https://github.com/ConnectorIO/plc4x-extras/blob/extras-0.11.0-connectorio-3/bundles/org.connectorio.plc4x.extras.decorator.throttle/src/test/java/org/connectorio/plc4x/extras/decorator/throttle/ThrottleDecoratorTest.java#L60 I've did it for canopen to keep only given number of SDO calls at the time. This decorator api can be used also to inject artificial locks which do not interfere with driver logic itself. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org