T - the type of the data that the a stream created from this id containspublic interface StreamId<T>
StreamId so a custom,
domain-specific, implementation is expected to be provided.
For example, a stream of random numbers may have a special implementation of StreamId that includes the seed
to be used in the number generation. Also, another implementation may include information about the range in which
the numbers need to be scaled.