1. 02 8月, 2019 1 次提交
    • Y
      [pulsar-io-jdbc] not set action as insert (#4862) · d8356d8c
      Yi Tang 提交于
      ### Motivation
      
      jdbc sink treat all record as INSERT before #4358 , now it requires an indispensable action property which seems to be a break change, and we can deal records without any action property as INSERT.
      
      ### Modifications
      
      treat action not set as INSERT action like before.
      d8356d8c
  2. 01 8月, 2019 7 次提交
  3. 31 7月, 2019 1 次提交
  4. 30 7月, 2019 3 次提交
  5. 29 7月, 2019 2 次提交
  6. 27 7月, 2019 3 次提交
  7. 26 7月, 2019 8 次提交
  8. 25 7月, 2019 1 次提交
  9. 24 7月, 2019 5 次提交
  10. 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
  11. 22 7月, 2019 6 次提交
  12. 21 7月, 2019 1 次提交
    • 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