allow passing topic into consume method