Sha256: cb68121d5504761961283c93e1a238e51eb58c9d571fe6c5b3aec3c48f54add7
Contents?: true
Size: 1008 Bytes
Versions: 5
Compression:
Stored size: 1008 Bytes
Contents
# frozen_string_literal: true # This Karafka component is a Pro component under a commercial license. # This Karafka component is NOT licensed under LGPL. # # All of the commercial components are present in the lib/karafka/pro directory of this # repository and their usage requires commercial license agreement. # # Karafka has also commercial-friendly license, commercial support and commercial components. # # By sending a pull request to the pro components, you are agreeing to transfer the copyright of # your code to Maciej Mensfeld. module Karafka module Web module Pro module Commanding # Namespace for commands the process can react to module Commands # Base for all the commands class Base private # @return [String] current process id def process_id @process_id ||= ::Karafka::Web.config.tracking.consumers.sampler.process_id end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems