def get_name_from_class(instance)
      instance.class.to_s.split('::').map do |element|
        next if element == 'EventHub'
        element.split(/(?=[A-Z])/).join('_').downcase
      end.compact.join('.')
    end
def get_name_from_class(instance)
      instance.class.to_s.split('::').map do |element|
        next if element == 'EventHub'
        element.split(/(?=[A-Z])/).join('_').downcase
      end.compact.join('.')
    end
Extracts processor name from given class instance.
 Removes 'EventHub' module from name.
 Examples:
 EventHub::Namespace::Demo => namespace.demo
 EventHub::NameSpace::Demo => name_space.demo
 EventHub::NameSpace::DemoProcessor => name_space.demo_processor
 NameSpace::Demo => name_space.demo