Class: KafkaProducer::Generators::OutboxProducerGenerator
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- KafkaProducer::Generators::OutboxProducerGenerator
- Defined in:
- lib/generators/kafka_producer/outbox_producer/outbox_producer_generator.rb
Instance Method Summary collapse
Instance Method Details
#insert_outbox_producer ⇒ Object
12 13 14 15 |
# File 'lib/generators/kafka_producer/outbox_producer/outbox_producer_generator.rb', line 12 def insert_outbox_producer generate "outbox:item", "#{item_name.underscore} --kind outbox" unless [:skip_item] generate "outbox:transport", "#{item_name.underscore} sbmt/kafka_producer --kind outbox" end |