Open anotherfiz opened 2 months ago
@anotherfiz thanks for raising this. We'll take a look and get back.
Interesting to see you're deploying Numaflow on a Edge device. If you're open to sharing, we'd love to hear your feedback
@anotherfiz thanks for raising this. We'll take a look and get back.
Interesting to see you're deploying Numaflow on a Edge device. If you're open to sharing, we'd love to hear your feedback
Sure - we use numaflow to simplify the interfaces between different signal processing pods (acquisition, demod, decode, etc). In the past we have used RMQ. Besides this issue, it has been fantastic - lightweight , fast, and easy to setup.
@anotherfiz - do you mind sharing your ISB Service spec?
@anotherfiz - do you mind sharing your ISB Service spec?
jetstream:
settings: |
max_payload: 33554432 # 8MB
bufferConfig: |
stream:
maxAge: 21600s
imagePullSecrets:
- name: private-registry
replicas: 1
version: 2.9.21
@anotherfiz - do you mind sharing your ISB Service spec?
jetstream: settings: | max_payload: 33554432 # 8MB bufferConfig: | stream: maxAge: 21600s imagePullSecrets: - name: private-registry replicas: 1 version: 2.9.21
persistence
config?@anotherfiz - do you mind sharing your ISB Service spec?
jetstream: settings: | max_payload: 33554432 # 8MB bufferConfig: | stream: maxAge: 21600s imagePullSecrets: - name: private-registry replicas: 1 version: 2.9.21
- Do you have
persistence
config?- Could you use 2.10.x version (the latest is 2.10.20) to see how it works? Nats JetStream had lots of bugs fixed.
I do not have a persistence config.
upgrading jetstream is a possibility down the road - but is not a viable solution in the moment.
@anotherfiz - do you mind sharing your ISB Service spec?
jetstream: settings: | max_payload: 33554432 # 8MB bufferConfig: | stream: maxAge: 21600s imagePullSecrets: - name: private-registry replicas: 1 version: 2.9.21
- Do you have
persistence
config?- Could you use 2.10.x version (the latest is 2.10.20) to see how it works? Nats JetStream had lots of bugs fixed.
I do not have a persistence config.
upgrading jetstream is a possibility down the road - but is not a viable solution in the moment.
You should have a persistence
config at least, it's available even it's running in k3s
, otherwise it's purely in memory.
@anotherfiz thanks for raising this. We'll take a look and get back. Interesting to see you're deploying Numaflow on a Edge device. If you're open to sharing, we'd love to hear your feedback
Sure - we use numaflow to simplify the interfaces between different signal processing pods (acquisition, demod, decode, etc). In the past we have used RMQ. Besides this issue, it has been fantastic - lightweight , fast, and easy to setup.
That's great to hear. Numaflow's vision was to keep it lightweight, simplify event processing and be closer to where the developers are. If you don't mind, can you add to the Users list if you haven't already?
@anotherfiz - let me know if the persistence
helps.
@anotherfiz - let me know if the
persistence
helps.
Sorry for delay. We have added the persistence config, but it may be some time before we get concrete results as this is an edge condition.
Summary ISB does not recover numaflow pipeline consumers if system comes down in an unclean state (eg, power loss) When ISB attempts to recovery consumer for stream I get an error that says: Error unmarshalling consumer metafile/meta.inf: unexpected end of JSON input
To Reproduce
Expected behavior I would expect that when the ISB is unable to recover a consumer, that it kick the associated vertexes and restart the pipeline cleanly
Screenshots
Environment (please complete the following information):
Additional context
This is an edge device hence the need for it to recover cleanly from unforeseen circumstances
Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.