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.30 lib/karafka/contracts.rb
karafka-2.0.29 lib/karafka/contracts.rb
karafka-2.0.28 lib/karafka/contracts.rb
karafka-2.0.27 lib/karafka/contracts.rb
karafka-2.0.26 lib/karafka/contracts.rb
karafka-2.0.24 lib/karafka/contracts.rb
karafka-2.0.23 lib/karafka/contracts.rb
karafka-2.0.22 lib/karafka/contracts.rb
karafka-2.0.21 lib/karafka/contracts.rb
karafka-2.0.20 lib/karafka/contracts.rb
karafka-2.0.19 lib/karafka/contracts.rb
karafka-2.0.18 lib/karafka/contracts.rb
karafka-2.0.17 lib/karafka/contracts.rb
karafka-2.0.16 lib/karafka/contracts.rb
karafka-2.0.15 lib/karafka/contracts.rb
karafka-2.0.14 lib/karafka/contracts.rb
karafka-2.0.13 lib/karafka/contracts.rb
karafka-2.0.12 lib/karafka/contracts.rb
karafka-2.0.11 lib/karafka/contracts.rb
karafka-2.0.10 lib/karafka/contracts.rb