1. 30 7月, 2019 2 次提交
  2. 29 7月, 2019 2 次提交
  3. 27 7月, 2019 3 次提交
  4. 26 7月, 2019 8 次提交
  5. 25 7月, 2019 1 次提交
  6. 24 7月, 2019 5 次提交
  7. 23 7月, 2019 2 次提交
    • M
      Process requests asynchronously on some REST APIs (2) (#4778) · 2cc34afc
      massakam 提交于
      Master Issue: #4756
      
      ### Motivation
      
      This is a continuation of https://github.com/apache/pulsar/pull/4765.
      
      ### Modifications
      
      Added async rest handlers to the following APIs:
      ```
      DELETE /admin/namespaces/{tenant}/{cluster}/{namespace}
      PUT    /admin/namespaces/{tenant}/{cluster}/{namespace}/unload
      POST   /admin/namespaces/{tenant}/{cluster}/{namespace}/clearBacklog
      POST   /admin/namespaces/{tenant}/{cluster}/{namespace}/clearBacklog/{subscription}
      POST   /admin/namespaces/{tenant}/{cluster}/{namespace}/unsubscribe/{subscription}
      
      DELETE /admin/v2/namespaces/{tenant}/{namespace}
      PUT    /admin/v2/namespaces/{tenant}/{namespace}/unload
      POST   /admin/v2/namespaces/{tenant}/{namespace}/clearBacklog
      POST   /admin/v2/namespaces/{tenant}/{namespace}/clearBacklog/{subscription}
      POST   /admin/v2/namespaces/{tenant}/{namespace}/unsubscribe/{subscription}
      ```
      2cc34afc
    • M
      Added more blog posts in the resources page (#4774) · 8e1d00ff
      Matteo Merli 提交于
      * Added more blog posts in the resources page
      
      * Added 2 more posts
      8e1d00ff
  8. 22 7月, 2019 6 次提交
  9. 21 7月, 2019 11 次提交
    • M
      Allow to configure ack-timeout tick time (#4760) · f13af487
      Matteo Merli 提交于
      ### Motivation
      
      After the changes in #3118, there has a been a sharp increase of memory utilization for the UnackedMessageTracker due to the time buckets being created. 
      
      This is especially true when the acktimeout is set to a larger value (eg: 1h) where 3600 time-buckets are being created. This lead to use 20MB per partition even when no message is tracked.
      
      Allowing to configure the tick time so that application can tune it based on needs.
      
      Additionally, fixed the logic that keeps creating hash maps and throwing them away at each tick time iteration, since that creates a lot of garbage and doesn't take care of the fact that the hash maps are expanding based on the required capacity (so next time they are already of the "right" size). 
      
      On a final note: the current default of 1sec seems very wasteful. Something like 10s should be more appropriate as default.
      f13af487
    • S
      [test] add getters and setters to PulsarService & BrokerService (#4709) · 5cff1691
      Sijie Guo 提交于
      *Motivation*
      
      When using PulsarService or BrokerService for testing, it might require accessing
      the components in PulsarService and BrokerService. This change is adding setters
      and getters to access the components in PulsarService & BrokerService
      5cff1691
    • B
      Fix: Add kubernetes namespace to function instance url (#4701) · 8c3445ad
      Boyang Jerry Peng 提交于
      ### Motivation
      
      
      Currently, if the kubernetes namespace set to deploy functions in is different than the one in which brokers/workers reside, get status and stats doesn't work because the url for instances does not specify the namespace.
      8c3445ad
    • M
      Removed specialization of CopyOnWriteArrayList class (#4710) · e7c81096
      Matteo Merli 提交于
      ### Motivation
      
      Switched back to use the regular `java.util.concurrent.CopyOnWriteArrayList` instead of the class extending it since we don't really have any advantage in accessing the underlying array of objects. 
      
      The reflection being used to get that field is giving errors on Java 12. 
      e7c81096
    • T
      Fix document of debezium (#4713) · 1852dc38
      tuteng 提交于
      ### Motivation
      
      There are some typos in the document content of about debezium, which affect users' use, so fix it.
      
      ### Modifications
      
      Fix typos in document of debezium. And format content 
      1852dc38
    • Y
      Increasing Dashboard consumerName field to 256 varchar (#4716) · d7b3af00
      Yuvaraj L 提交于
      * Changed remove-backlog-quotas to remove-backlog-quota
      
      * Changed remove-backlog-quotas to remove-backlog-quota
      
      * Increased the consumerName field to varchar(256)
      Signed-off-by: NYuvaraj Loganathan <uvaraj6@gmail.com>
      d7b3af00
    • B
      [docs] add memory requirement and config tips for standalone mode (#4717) · 1087dad7
      Brandon 提交于
      * add memory requirement and config tips for standalone mode
      
      In the current standalone get start doc, there is no mentioning or link for the memory usage of the pulsar. 
      User with limited free memory may encounter issue to start the Pulsar. 
      Adding the tips on how to change the default required heap memory.
      
      1087dad7
    • B
      [docs] add security warning on standalone doc (#4719) · b897f5e1
      Brandon 提交于
      * [docs] add security warning on standalone doc
      
      Add a fair warning on standalone get start document.  Since by default configure, Pulsar can be accessed from remote server without any authentication, encryption, authentication.  So a fair warning to the user is critical to avoid any unexpected security risks.
      b897f5e1
    • B
      26fc4efe
    • R
      set go function executable when download to local (#4743) · bf58c8eb
      Rui Fu 提交于
      ### Motivation
      
      Currently golang function needs to be compiled before deploy to pulsar, so the executable permission is required when function package is downloaded to local node from bookkeeper. This PR is intent to make golang function package executable after download from bookkeeper, to make sure the function is ok to run.
      bf58c8eb
    • J
      Allow to create partitioned topic with 1 partition (#4764) · 5162393c
      Jia Zhai 提交于
      **Motivation**
      when create partitioned topic, there is a check that `numPartitions > 1`, if numPartitions==1, it will fail.
      Some user may want to create partitioned topic with only 1 topic at the start time, and during using it, could update to more topics later. 
      
      **Modification**
      change check of `numPartitions > 1` to `numPartitions > 0`
      
      expect all existing ut passed.
      5162393c