Sha256: db7e057a9dfee5fe1342aa1eb0eb1a07cbcb0dc416cdb0d85af06ca539bee409

Contents?: true

Size: 487 Bytes

Versions: 28

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Core
    # 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
    module Taggable
      # @return [::Karafka::Core::Taggable::Tags] tags object
      def tags
        @tags ||= Taggable::Tags.new
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
karafka-core-2.4.5 lib/karafka/core/taggable.rb
karafka-core-2.4.4 lib/karafka/core/taggable.rb
karafka-core-2.4.3 lib/karafka/core/taggable.rb
karafka-core-2.4.2 lib/karafka/core/taggable.rb
karafka-core-2.4.1 lib/karafka/core/taggable.rb
karafka-core-2.4.1.rc1 lib/karafka/core/taggable.rb
karafka-core-2.4.0 lib/karafka/core/taggable.rb
karafka-core-2.4.0.rc2 lib/karafka/core/taggable.rb
karafka-core-2.4.0.rc1 lib/karafka/core/taggable.rb
karafka-core-2.4.0.beta2 lib/karafka/core/taggable.rb
karafka-core-2.4.0.beta1 lib/karafka/core/taggable.rb
karafka-core-2.4.0.alpha1 lib/karafka/core/taggable.rb
karafka-core-2.3.0 lib/karafka/core/taggable.rb
karafka-core-2.3.0.rc1 lib/karafka/core/taggable.rb
karafka-core-2.3.0.alpha1 lib/karafka/core/taggable.rb
karafka-core-2.2.7 lib/karafka/core/taggable.rb
karafka-core-2.2.6 lib/karafka/core/taggable.rb
karafka-core-2.2.5 lib/karafka/core/taggable.rb
karafka-core-2.2.4 lib/karafka/core/taggable.rb
karafka-core-2.2.3 lib/karafka/core/taggable.rb