- 26 7月, 2019 5 次提交
-
-
由 Boyang Jerry Peng 提交于
### Motivation A message doesn't get automatically ACKed if there is the output topic is not set
-
由 Matteo Merli 提交于
-
由 Jia Zhai 提交于
-
由 vzhikserg 提交于
* Simplified assert statements in the tests. Switch to usage of static imports in tests. (Part 1) * Simplify assert statements in the tests and use the appropriate assert statements. Switch to usage of static imports in tests. Remove unused imports (Part 2)
-
由 massakam 提交于
* Process requests asynchronously on some REST APIs (3) * Add async rest handler to API for expiring message on single topic subscription
-
- 25 7月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
-
- 24 7月, 2019 5 次提交
-
-
由 Sijie Guo 提交于
*Motivation* Add a few recent presentations to the resources page. They cover different topics: - 2.4.0 release - use case - serverless - spark + pulsar - flink + pulsar
-
由 Anonymitaet 提交于
Add an independent Chapter for Pulsar Schema. This is the first section—Get started.
-
由 congbo 提交于
### Motivation Continue the PR of #4151
-
由 Xiaobing Fang 提交于
fix #4707
-
由 Yong Zhang 提交于
* [Transaction][Buffer]Add new marker to show which message belongs to transaction --- *Motivation* Add new message type in the transaction including data and commit and abort maker in the transaction log. *Modifications* Add two new types of transaction messages. TXN_COMMIT is the commit marker of the transaction. TXN_ABORT is the abort marker of the transaction.
-
- 23 7月, 2019 2 次提交
-
-
由 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} ```
-
由 Matteo Merli 提交于
* Added more blog posts in the resources page * Added 2 more posts
-
- 22 7月, 2019 6 次提交
-
-
由 lipenghui 提交于
### Motivation Fix #4732 ### Modifications Add options to rewrite the namespace delimiter, disable by default Enable rewrite namespace delimiter can work well with superset: <img width="1279" alt="superset" src="https://user-images.githubusercontent.com/12592133/61385412-f0f35700-a8e4-11e9-87b2-a31b62128b58.png"> ### Does this pull request potentially affect one of the following parts: *If `yes` was chosen, please highlight the changes* - Dependencies (does it add or upgrade a dependency): (no) - The public API: (no) - The schema: (no) - The default values of configurations: (no) - The wire protocol: (no) - The rest endpoints: (no) - The admin cli options: (no) - Anything that affects deployment: (no) ### Documentation - Does this pull request introduce a new feature? (no)
-
由 Sijie Guo 提交于
* Add Upgrade Guide to Apache Pulsar *Changes* Add a general upgrade guide to apache pulsar. * Update the upgrade guide
-
由 Eren Avsarogullari 提交于
-
由 Eren Avsarogullari 提交于
* [Pulsar-Client] Add Producer Numeric Properties Validation * Aligned deprecated and new Producer API validations * Deprecated and new Producer API validations are being aligned * batchingMaxMessages C++ API is being aligned with Java API * batchingMaxMessages Java API Validation is being aligned with C++ API * Review comments are addressed * Fix broken UTs
-
由 vzhikserg 提交于
* Convert anonymous functions to lambda * Replacing lambda with anonymous implementation, because lambda cannot be mocked
-
由 Rui Fu 提交于
### Motivation `pulsar-function-go/conf` package apply `instance-conf-path` with default value `HOME_PATH+github.com/apache/pulsar/pulsar-function-go/conf/conf.yaml`, once function deployed, the running node may not have the yaml conf file exist, then go function will panic with `not found conf file` error. This PR changed the logic of config parsing, parse `confContent` first, then parse `confFilePath` if `confContent` empty.
-
- 21 7月, 2019 12 次提交
-
-
由 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.
-
由 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
-
由 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.
-
由 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.
-
由 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
-
由 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>
-
由 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.
-
由 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.
-
由 Boyang Jerry Peng 提交于
-
由 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.
-
由 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.
-
由 Jennifer Huang 提交于
* add functions-debug file for new structure * update a few typos
-
- 20 7月, 2019 3 次提交
- 19 7月, 2019 6 次提交
-
-
由 tuteng 提交于
* Fix download link not found in document * Update sorted
-
由 Yuto Furuta 提交于
-
由 congbo 提交于
-
由 massakam 提交于
### Motivation If trying to build master C++ code with the `USE_LOG4CXX` flag turned ON, compilation errors occur: ``` /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc: In static member function ‘static log4cxx::LevelPtr pulsar::Log4CxxLogger::getLevel(pulsar::Logger::Level)’: /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:53:18: error: ‘DEBUG’ was not declared in this scope case DEBUG: ^ /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:55:18: error: ‘INFO’ was not declared in this scope case INFO: ^ /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:57:18: error: ‘WARN’ was not declared in this scope case WARN: ^ /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:59:18: error: ‘ERROR’ was not declared in this scope case ERROR: ^ /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:52:16: error: enumeration value ‘LEVEL_DEBUG’ not handled in switch [-Werror=switch] switch (level) { ^ /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:52:16: error: enumeration value ‘LEVEL_INFO’ not handled in switch [-Werror=switch] /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:52:16: error: enumeration value ‘LEVEL_WARN’ not handled in switch [-Werror=switch] /tmp/pulsar/pulsar-client-cpp/lib/Log4cxxLogger.cc:52:16: error: enumeration value ‘LEVEL_ERROR’ not handled in switch [-Werror=switch] cc1plus: some warnings being treated as errors make[2]: *** [lib/CMakeFiles/pulsarStatic.dir/Log4cxxLogger.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ``` This is because the enum values renamed in https://github.com/apache/pulsar/pull/4664 are still used in `Log4cxxLogger.cc`. ### Modifications Fixed the enum values used in `Log4cxxLogger.cc` by adding the prefix `LEVEL_`.
-
由 冉小龙 提交于
Fixes #4589 Motivation When using Partition-topic, the logic of redeliver messages will not be triggered when the time of ackTimeout arrives. This is because the unAckedMessageTrackerPtr_->add(msg.getMessageId()) is not call in the listener handling of partitioned topic in cpp code
-
由 lipenghui 提交于
Fixes #4734 ### Motivation "publish_time" is Pulsar SQL internal column, as Pulsar only stores timestamps, it doesn’t store the timezone information. Use timestamp as "publish_time" type is more correct way in Pulsar SQL. ### Modifications Change type of publish_time to timestamp. ### Verifying this change predicate of publish_time is pushdown Use `__publish_time__` to trim messages: ``` SELECT COUNT(*) FROM "sql-test-1" WHERE "__publish_time__" >= TIMESTAMP '2019-07-18 17:26:50.119' AND "__publish_time__" < TIMESTAMP '2019-07-18 17:26:51.119'; ``` ![image](https://user-images.githubusercontent.com/12592133/61447301-43835080-a983-11e9-814b-bc2b378f02b9.png) Without `__publish_time__` predicate: ``` SELECT COUNT(*) FROM "sql-test-1"; ``` ![image](https://user-images.githubusercontent.com/12592133/61447427-82190b00-a983-11e9-8d3f-3bf2a4798047.png)
-