question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change FixedStreamMessage not to discard its stream message

See original GitHub issue

Currently, FixedStreamMessage releases its elements as soon as the element was subscribed. But if we change it to release after all of the elements are subscribed, we can duplicate the FixedStreamMessage without using StreamMessageDuplicator. But we have to consider that there’s a tradeoff because we have to hold it in memory a little longer.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:24 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
trustincommented, Jan 15, 2020

dupcliateStream(lastStream) sounds OK to me.

1reaction
ikhooncommented, Jan 15, 2020

This one looks good even though there’s not so much chance the parameter is other than 1.

Does it seem overkill? 😄 I’m not strong that. 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use StreamMessageDuplicator only where it's needed · Issue #1408 ...
The StreamMessageDuplicator is needed to inspect the content of HttpRequest and HttpResponse because the nature of the stream messages which is they can...
Read more >
Rabbitmq :: Message is never removed from stream queue
This means that the log will grow indefinitely until the disk runs out. To avoid this undesirable scenario it is possible to set...
Read more >
Index (Armeria 1.14.1 API reference) - Javadoc.io
Returns an aborted StreamMessage that terminates with the specified Throwable via Subscriber.onError(Throwable) immediately after being subscribed to.
Read more >
Resolving problems when using messages - IBM
You have updated a message and want to put the message to the queue, but your changes do not seem to have been...
Read more >
Change Data Capture using Snowflake Streams - ThinkETL
Update and delete operations (including table truncates) are not recorded. Supported on standard tables, directory tables and views. The syntax ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found