Causal Sampling, Compressing, And Channel Coding of Streaming Data