1. 30 8月, 2020 1 次提交
    • H
      Add compaction threshold for topic level (#7881) · 3ff753c6
      hangc0276 提交于
      Fix #7826 
      
      ### Motivation
      Support compaction threshold on topic level.
      Based on the system topic function.
      
      ### Modifications
      Support set compaction threshold on topic level.
      Support get compaction threshold on topic level.
      Support remove compaction threshold on topic level.
      3ff753c6
  2. 28 8月, 2020 1 次提交
    • H
      support message dispatch rate on topic level (#7863) · 395037e9
      hangc0276 提交于
      ### Motivation
      Support message dispatch rate on topic level.
      Based on the system topic function.
      
      ### Modifications
      Support set message dispatch rate on topic level.
      Support get message dispatch rate on topic level.
      Support remove message dispatch rate on topic level.
      395037e9
  3. 17 8月, 2020 1 次提交
  4. 12 8月, 2020 1 次提交
    • F
      support topic level delayed delivery policy (#7784) · e417d77a
      feynmanlin 提交于
      
      Master Issue: #2688 
      
      ### Motivation
      support topic level delayed delivery policy
      
      ### Modifications
      Support set/get/remove delayed delivery policy on topic level.
      
      ### Verifying this change
      
      Added Unit test to verify set/get/remove delayed delivery policy at Topic level work as expected when Topic level policy is enabled/disabled
      
      - org.apache.pulsar.broker.admin.AdminApiDelayedDelivery#testEnableAndDisableTopicDelayedDelivery
      - org.apache.pulsar.broker.admin.AdminApiDelayedDelivery#testEnableTopicDelayedDelivery
      e417d77a
  5. 11 8月, 2020 1 次提交
    • J
      [Issue 2688]Support set retention on topic level. (#7747) · 824cb08b
      jianyun 提交于
      ### Motivation
      Support set retention quota on topic level.
      Based on the system topic function.
      ### Modifications
      Support get-retention on topic level.
      Support set-retention on topic level.
      Support remove-retention on topic level.
      824cb08b
  6. 06 8月, 2020 1 次提交
    • M
      Support set message TTL on topic level. (#7738) · 8a763abc
      Marvin Cai 提交于
      ### Motivation
      Master Issue: #2688
      Add Topic level policy support for message TTL.
      
      ### Modifications
      
      Support set/get/remove Message TTL on topic level.
      
      ### Verifying this change
      This change added tests and can be verified as follows:
      
        - *Added Unit test to verify set/get/remove message TTL at Topic level work as expected when Topic level policy is enabled/disabled*
        - *Added test case in PersistentTopicE2ETest to verify Topic level message TTL is used when set and will fall back to namespace message TTL if Topic level message TTL is removed.*
      8a763abc
  7. 31 7月, 2020 1 次提交
    • J
      [Issue 2689] Support set backlog quota on topic level. (#7646) · 26c49a85
      jianyun 提交于
      ### Motivation
      Support set backlog quota on topic level.
      Based on the system topic function, refer to @codelipenghui  topic-level backlog quota based on zk implementation
      
      ###Modifications
      Support get-backlog-quotas on topic level.
      Support set-backlog-quota on topic level.
      Support remove-backlog-quota on topic level.
      26c49a85
  8. 22 4月, 2020 1 次提交
    • N
      [Issue 2912][pulsar-admin] add get-message-by-id cmd into pulsar-admin (#6331) · d3ac61f1
      Neng Lu 提交于
      Fixes #2912 
      
      ### Motivation
      Adding a new command `get-message-by-id` to the pulsar-admin which allows user to look at a single message by providing ledger id and entry id.
      
      ### Modifications
      - pulsar-admin includes the new command `get-message-by-id`
      - pulsar-broker v1/v2 apis to handle the get-message-by-id request from pulsar-admin
      - managedCursor to read from ledgers with given ledger id and entry id
      d3ac61f1
  9. 28 3月, 2020 1 次提交
    • F
      Add topics CLI support to get partitioned internal stats. (#6624) · aa66b12c
      Fangbin Sun 提交于
      ### Motivation
      
      Currently `Topics.getPartitionedInternalStats` only exposed to `CmdPersistentTopics` that has been deprecated and hidden in `CmdTopics`, users can not use this method through `topics` CLI.
      
      ### Modifications
      
      Add `topics` CLI support to get partitioned internal stats and fix some missing subcommands in doc.
      aa66b12c
  10. 25 3月, 2020 1 次提交
  11. 17 2月, 2020 1 次提交
  12. 09 1月, 2020 1 次提交
    • L
      Fix create consumer on partitioned topic while disable topic auto creation. (#5572) · 602f1c20
      lipenghui 提交于
      ### Motivation
      
      Currently, disable the topic auto creation will cause consumer create failed on a partitioned topic. Since the partitioned topic is already created, so we should handle the topic partition create when disable the topic auto creation.
      
      ### Modifications
      
      By default, create partitioned topics also try to create all partitions, and if create partitions failed, users can use `create-missed-partitions` to repair.
      
      If users already have a partitioned topic without created partitions, can also use `create-missed-partitions` to repair.
      602f1c20
  13. 05 11月, 2019 1 次提交
  14. 02 4月, 2019 1 次提交
  15. 04 3月, 2019 1 次提交
  16. 27 12月, 2018 1 次提交
  17. 29 11月, 2018 1 次提交
    • M
      PIP-25: Token based authentication (#2888) · a99f7332
      Matteo Merli 提交于
      * PIP-25: Token based authentication
      
      * Addressed comments
      
      * Use Authorization header
      
      * Update to support env: data: and file: as sources for keys and tokens
      
      * Fixed cli description
      
      * Updated broker.conf
      
      * Improved consistency in reading keys and CLI tools
      
      * Fixed check for http headers
      
      * Accept rel time with no specified unit
      
      * Fixed reading data: URL
      
      * Addressed comments
      
      * Added integration tests
      
      * Addressed comments
      
      * Added CLI command to validate token against key
      
      * Fixed integration tests
      
      * Removed env:
      
      * Fixed rel time parsing
      a99f7332
  18. 15 6月, 2018 1 次提交
    • I
      Human readable sizes when triggering offload (#1962) · e1040850
      Ivan Kelly 提交于
      When triggering offload from the CLI, allow the user to specify human
      readable sizes, like 10M, 100G etc.
      
      This patch also fixes a bug where the size wasn't being correctly used
      to find the message ID to offload at.
      
      Master Issue: #1511
      e1040850
  19. 14 6月, 2018 1 次提交
  20. 01 6月, 2018 1 次提交
    • I
      CLI for offload (#1865) · 06f9e2d1
      Ivan Kelly 提交于
      * CLI for offload
      
      This patch adds two CLI commands for offload, one to trigger offload,
      and another to check offload status.
      
      Triggering offload requires a size-threshold argument, which is the
      maximum number of bytes which should be retained locally. The prefix
      of ledgers over this threshold will be offloaded.
      
      ```
      pulsar-admin topics offload --size-threshold 104857600 persistent://public/default/topic1
      pulsar-admin topics offload-status -w persistent://public/default/topic1
      ```
      
      Master Issue: #1511
      
      * luc's review comments
      06f9e2d1
  21. 04 5月, 2018 1 次提交
  22. 03 5月, 2018 1 次提交
    • I
      Rest API for Ledger Offloading (#1639) · 5f678e09
      Ivan Kelly 提交于
      * Rest API for Ledger Offloading
      
      Implemented for both V1 and V2 topic name formats. API takes a message
      ID, up to which the broker will try to offload messages. It returns
      the message ID of the first message in the topic which has not been
      offloaded.
      
      This patch also adds basic support for setting the Offloader
      implementation in the broker (needed for testing). Subsequent patches
      will make this configurable through ServiceConfiguration.
      
      * Split compaction endpoint into two
      
      One for triggering and one for getting the current status.
      
      * Add conflict to rest api doc
      
      * Fixed build
      5f678e09
  23. 02 5月, 2018 1 次提交
  24. 27 4月, 2018 1 次提交
  25. 18 4月, 2018 1 次提交
    • I
      Compaction commands for pulsar-admin (#1596) · bb3c72f9
      Ivan Kelly 提交于
      Adds an compact and compaction-status command in the persistent
      subcommand of pulsar-admin.
      
      This command differs from the compact-topic CLI (part of pulsar
      command), in that it triggers compaction to occur via the REST api,
      which causes the compaction to run in the broker process. The
      compact-topic CLI spawns a new process to run the compaction.
      
      Patch also fixes batch detection, which was broken (uncovered by a
      change in the defaults), and recycles some metadata that wasn't being
      recycled previously.
      bb3c72f9
  26. 16 4月, 2018 1 次提交
  27. 05 3月, 2018 1 次提交
  28. 26 2月, 2018 1 次提交
  29. 01 2月, 2018 1 次提交
  30. 11 10月, 2017 1 次提交
  31. 25 9月, 2017 1 次提交
  32. 16 9月, 2017 1 次提交
  33. 23 8月, 2017 1 次提交
  34. 24 6月, 2017 1 次提交
  35. 23 6月, 2017 1 次提交
  36. 08 6月, 2017 1 次提交
  37. 24 5月, 2017 1 次提交
  38. 02 4月, 2017 1 次提交
  39. 25 3月, 2017 1 次提交
  40. 18 10月, 2016 1 次提交