Sha256: 1d23635b0b120e5090e63401a885298014e88ec99804c8aa2b22700a1fb27a3a

Contents?: true

Size: 521 Bytes

Versions: 20

Compression:

Stored size: 521 Bytes

Contents

require 'zeebe/client'

zeebe_client = Zeebe::Client::GatewayProtocol::Gateway::Stub.new('localhost:26500', :this_channel_is_insecure)

topology = zeebe_client.topology(Zeebe::Client::GatewayProtocol::TopologyRequest.new)

puts "Zeebe topology:"
puts "  Cluster size: #{topology.clusterSize}"
puts "  Replication factor: #{topology.replicationFactor}"
puts "  Brokers:"

topology.brokers.each do |b|
  puts "    - id: #{b.nodeId}, address: #{b.host}:#{b.port}, partitions: #{b.partitions.map { |p| p.partitionId }}"
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
zeebe-client-0.20.0 examples/demo.rb
zeebe-client-0.19.0 examples/demo.rb
zeebe-client-0.18.0 examples/demo.rb
zeebe-client-0.17.0 examples/demo.rb
zeebe-client-0.16.3 examples/demo.rb
zeebe-client-0.16.2 examples/demo.rb
zeebe-client-0.16.1 examples/demo.rb
zeebe-client-0.16.0 examples/demo.rb
zeebe-client-0.15.1 examples/demo.rb
zeebe-client-0.15.0 examples/demo.rb
zeebe-client-0.14.2 examples/demo.rb
zeebe-client-0.14.1 examples/demo.rb
zeebe-client-0.14.0 examples/demo.rb
zeebe-client-0.13.2 examples/demo.rb
zeebe-client-0.13.1 examples/demo.rb
zeebe-client-0.13.0 examples/demo.rb
zeebe-client-0.12.1 examples/demo.rb
zeebe-client-0.12.0 examples/demo.rb
zeebe-client-0.11.2 examples/demo.rb
zeebe-client-0.11.1 examples/demo.rb