Module: Karafka::Core::Taggable

Defined in:
lib/karafka/core/taggable.rb,
lib/karafka/core/taggable/tags.rb

Overview

Namespace related to extension allowing to attach tags to any object. It can be used to assign tags in runtime to objects and use those tags in metrics, reporting and other places.

Tags will be converted to strings when they are added

Defined Under Namespace

Classes: Tags

Instance Method Summary collapse

Instance Method Details

#tags::Karafka::Core::Taggable::Tags

Returns tags object.

Returns:



12
13
14
# File 'lib/karafka/core/taggable.rb', line 12

def tags
  @tags ||= Taggable::Tags.new
end