Skip to content

Releases: archfish/pulsar_sdk

Add admin API

05 Mar 12:41
Compare
Choose a tag to compare

This version break lots of API since last release, before upgrade this version check examples for detail.

bug fix and log optimization

26 Dec 02:43
Compare
Choose a tag to compare

breaking change:
real_producer was return an producer now passing a block and return yield result.

def real_producer(msg, &block)
  if @producers.size.zero?
    PulsarSdk.logger.warn(__method__){"There is no available producer for topic: 「#{@topic}」, skipping action!"}
    return
  end

  route_index = msg.nil? ? 0 : @router.route(msg.key, @producers.size)

  yield @producers[route_index]
end

use case

producer.real_producer(p_msg) do |producer_|
  producer_.execute(base_cmd, p_msg)
  producer_.receipt
end

bug fix and log optimization

17 Dec 06:56
Compare
Choose a tag to compare
  • some breaking change introduce to basic api, see examples for detail
  • ruby logger integrated
  • fix some bug

add connection pool

06 Dec 06:07
Compare
Choose a tag to compare
  • auto set request_id, producer_id, consumer_id, sequence_id
  • add connection pool
  • support topic lookup
  • support partitioned topic

Basic features available

25 Nov 02:15
Compare
Choose a tag to compare
  • Connection establishment
  • Producer
    • Message Delivery
    • Delayed Message Delivery
    • Get SendReceipt
    • Close Producer
  • Consumer
    • Flow control
    • Ack
    • Message Redelivery
  • Keep alive
    • handle ping command
  • Service discovery
    • Topic lookup
    • Partitioned topics discovery
  • Thread safe