I am trying to understand Jetstream a little better, and it seems like there are two different levels to group messages. The stream level and the subject level.
If, for example, I want to create a chat app with different groups, each with their own group id. Would folks recommend a single stream with different subjects (the group id), or different streams per group id.
These chats would be ephemeral, so I would like to be able to purge them. Looking at the api, I couldn't find ways to delete specific subjects, so this makes me think I would make each chat a different stream, so I could delete the stream when the chat was finished.
That said, I don't know if it is bad practice to create millions of short lived streams, each with just a single subject. In this example it would look something like:
Account: Chat
Stream.subject_examples: <group_id_1>.messages, <group_id_2>.messages, ... <group_id_1000000>.messages, etc etc