Class: Google::Cloud::PubSub::OrderedMessagesDisabled

Inherits:
Error
  • Object
show all
Defined in:
lib/google/cloud/pubsub/errors.rb

Overview

Indicates that the AsyncPublisher has not been enabled to publish messages with an ordering key. Use AsyncPublisher#enable_message_ordering! to enable publishing ordered messages.

Instance Method Summary collapse

Constructor Details

#initialize(message = "Ordered messages are disabled.") ⇒ OrderedMessagesDisabled

Returns a new instance of OrderedMessagesDisabled.



38
39
40
# File 'lib/google/cloud/pubsub/errors.rb', line 38

def initialize message = "Ordered messages are disabled."
  super message
end