Sha256: f0c5e10d7c0d27493d34e7120e85f6770f5e4ef90d709fde22895dfb5f56a59d

Contents?: true

Size: 334 Bytes

Versions: 15

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module Karafka
  # Namespace for all the validation contracts that we use to check input
  module Contracts
    # Regexp for validating format of groups and topics
    # @note It is not nested inside of the contracts, as it is used by couple of them
    TOPIC_REGEXP = /\A(\w|-|\.)+\z/.freeze
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
karafka-1.4.15 lib/karafka/contracts.rb
karafka-1.4.14 lib/karafka/contracts.rb
karafka-1.4.13 lib/karafka/contracts.rb
karafka-1.4.12 lib/karafka/contracts.rb
karafka-1.4.11 lib/karafka/contracts.rb
karafka-1.4.10 lib/karafka/contracts.rb
karafka-1.4.9 lib/karafka/contracts.rb
karafka-1.4.8 lib/karafka/contracts.rb
karafka-1.4.7 lib/karafka/contracts.rb
karafka-1.4.6 lib/karafka/contracts.rb
karafka-1.4.5 lib/karafka/contracts.rb
karafka-1.4.4 lib/karafka/contracts.rb
karafka-1.4.3 lib/karafka/contracts.rb
karafka-1.4.2 lib/karafka/contracts.rb
karafka-1.4.1 lib/karafka/contracts.rb