[datastream] rewrite (2) simplify init