Sha256: c1b274f59c4fa7f6df88e56c8b257e6656958947ca147ea6cf6b994792594f42

Contents?: true

Size: 335 Bytes

Versions: 12

Compression:

Stored size: 335 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

12 entries across 12 versions & 1 rubygems

Version Path
karafka-1.4.0 lib/karafka/contracts.rb
karafka-1.4.0.rc2 lib/karafka/contracts.rb
karafka-1.4.0.rc1 lib/karafka/contracts.rb
karafka-1.3.7 lib/karafka/contracts.rb
karafka-1.3.6 lib/karafka/contracts.rb
karafka-1.3.5 lib/karafka/contracts.rb
karafka-1.3.4 lib/karafka/contracts.rb
karafka-1.3.3 lib/karafka/contracts.rb
karafka-1.3.2 lib/karafka/contracts.rb
karafka-1.3.1 lib/karafka/contracts.rb
karafka-1.3.0 lib/karafka/contracts.rb
karafka-1.3.0.rc1 lib/karafka/contracts.rb