A type safe way of developing storm topology