pub fn create_consumer( source_map_raw: &str, source_map_url: Option<&str>, ) -> Result<Consumer, Error>
You should always use this function to create consumer