mirror of
https://github.com/OMGeeky/flucto-heisskleber.git
synced 2025-12-29 07:46:23 +01:00
* WIP: Added async file reader. * Async resampling and synchronization refactored. * Add async mqtt publisher. Remove queue from joint. * Add async zmq publisher and subscriber. * Modify integration tests for streaming. * Name refactoring resampler. * Added async source/sink to factory. * Refactor joint and add integration tests. * Add termcolor dev dependency * Add conosole source and sink * Add cli interface for different protocols * Removed files unfit for merge. * Fix review requests. * Restore use of $MSB_CONFIG_DIR for now. It seems that the default behaviour is not looking for .config/heisskleber * Remove version test, causing unnecessary failures.
18 lines
234 B
Python
18 lines
234 B
Python
import time
|
|
|
|
from heisskleber import get_sink
|
|
|
|
|
|
def main():
|
|
sink = get_sink("zmq")
|
|
|
|
i = 0
|
|
while True:
|
|
sink.send({"test pub": i}, "test")
|
|
time.sleep(1)
|
|
i += 1
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|