What is the need for Streams support when we have pub/sub feature!? You might ask. The answer is Pub/Sub is not same as Stream. These are some of the very basic differences between them. So stream is not an alternative for Pub/Sub.
Pub/Sub Stream
No persistence Persistent Data
Receiver has to be up and running to receive the messages. It is a Fire & forget model Consumers do not have to be up and running. Consumers can connect to the publisher any time and consume the messages from where they left off.
All the subscribers would receive the same message Only one consumer from a consumer group will receive the message. So No duplicate message processing.