Skip to content

Muscle3 actor supporting multiple source streams#17

Merged
maarten-ic merged 12 commits into
mainfrom
feature/muscle3-actor
Jun 15, 2026
Merged

Muscle3 actor supporting multiple source streams#17
maarten-ic merged 12 commits into
mainfrom
feature/muscle3-actor

Conversation

@maarten-ic

@maarten-ic maarten-ic commented May 28, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a new muscle3 actor that can connect to multiple Kafka streams and makes it available to the M3 simulation. If the time bases of the streams are not identical, this actor will:

  • Follow the time base of the "first" stream (based on the configuration in the kafka_topics setting)
  • Skip time points until all streams have data available
  • Use "previous time" interpolation for each non-first stream

N.B. This actor requires a development version of muscle3 with support for dynamic O_I and S ports.

TODO:

  • Add documentation and usage instructions
  • Update MUSCLE3 dependency once the next release is finished

@maarten-ic
maarten-ic requested a review from Yannicked May 29, 2026 12:05
@maarten-ic
maarten-ic marked this pull request as ready for review May 29, 2026 12:05
Comment thread src/imas_streams/muscle3_datasource.py Outdated
Comment thread src/imas_streams/cli.py Outdated
@maarten-ic
maarten-ic requested a review from Yannicked June 2, 2026 11:47
@maarten-ic
maarten-ic force-pushed the feature/muscle3-actor branch from a97db65 to 49bc89f Compare June 2, 2026 11:49
@maarten-ic
maarten-ic requested a review from Yannicked June 15, 2026 12:17
@maarten-ic
maarten-ic merged commit 04404a5 into main Jun 15, 2026
3 checks passed
@maarten-ic
maarten-ic deleted the feature/muscle3-actor branch June 15, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants