add tag support in streaming duplicate marking