Sha256: 0a2b9ad7b94e44baacf04f81130eb9c68f21fbbcbccdbb7aa0f94a22ea8749e6

Contents?: true

Size: 327 Bytes

Versions: 47

Compression:

Stored size: 327 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/
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
karafka-2.0.9 lib/karafka/contracts.rb
karafka-2.0.8 lib/karafka/contracts.rb
karafka-2.0.7 lib/karafka/contracts.rb
karafka-2.0.6 lib/karafka/contracts.rb
karafka-2.0.5 lib/karafka/contracts.rb
karafka-2.0.4 lib/karafka/contracts.rb
karafka-2.0.3 lib/karafka/contracts.rb
karafka-2.0.2 lib/karafka/contracts.rb
karafka-2.0.1 lib/karafka/contracts.rb
karafka-2.0.0 lib/karafka/contracts.rb
karafka-2.0.0.rc6 lib/karafka/contracts.rb
karafka-2.0.0.rc5 lib/karafka/contracts.rb
karafka-2.0.0.rc4 lib/karafka/contracts.rb
karafka-2.0.0.rc3 lib/karafka/contracts.rb
karafka-2.0.0.rc2 lib/karafka/contracts.rb
karafka-2.0.0.rc1 lib/karafka/contracts.rb
karafka-2.0.0.beta5 lib/karafka/contracts.rb
karafka-2.0.0.beta4 lib/karafka/contracts.rb
karafka-2.0.0.beta3 lib/karafka/contracts.rb
karafka-2.0.0.beta2 lib/karafka/contracts.rb