- 04 9月, 2020 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* Various fixes for Batch Source 1. Create intermediate topic/subscription prior to function running in case auto topic creation is turned off 2. Fix possible NPE in CronTrigger when calling stop() 3. Stop all producers created in ContextImpl 4. Delete intermediate topic for batch source Co-authored-by: NJerry Peng <jerryp@splunk.com>
-
- 21 8月, 2020 1 次提交
-
-
由 Boyang Jerry Peng 提交于
Motivation close() method never gets called in BatchSource
-
- 04 8月, 2020 1 次提交
-
-
由 Boyang Jerry Peng 提交于
Co-authored-by: NJerry Peng <jerryp@splunk.com>
-
- 10 7月, 2020 1 次提交
-
-
由 Matteo Merli 提交于
### Motivation The async function test is relying on a race condition on when the counter is updated. With `pendingQueueSize=2`, the 3rd event is blocked on the queue until the 1st event is processed. That makes 1st and 2nd event to be triggered around the same time and the validation to fail, when we the 2nd event to be already done. Additionally, there are multiple threads leaked by this test.
-
- 12 5月, 2020 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Make Nar Extraction Directory configurable * Fixed unittests Co-authored-by: NSanjeev Kulkarni <sanjeevk@splunk.com>
-
- 08 5月, 2020 1 次提交
-
-
由 Jia Zhai 提交于
Fixes #6519 ### Motivation Currently, Pulsar Functions not support Async mode, e.g. user passed in a Function in format : ``` Function<I, CompletableFuture<O>> ``` This kind of function is useful if the function might use RPCs to call external systems. e.g. ```java public class AsyncFunction implements Function<String, CompletableFuture<O>> { CompletableFuture<O> apply (String input) { CompletableFuture future = new CompletableFuture(); ...function compute... future.whenComplete(() -> { ... call external system ... }); return future; } ``` ### Modifications - add support for Async Functions support. ### Verifying this change current ut passed. * support func: Function<I, CompletableFuture<O>> * add 2 examples * add limit to the max outstanding items
-
- 22 4月, 2020 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
Co-authored-by: NSanjeev Kulkarni <sanjeevk@splunk.com>
-
- 04 11月, 2019 1 次提交
-
-
由 冉小龙 提交于
* Add subscribe position param for consumer of sink Signed-off-by: Nxiaolong.ran <ranxiaolong716@gmail.com>
-
- 28 10月, 2019 1 次提交
-
-
由 johnwagster 提交于
### Motivation Adding support for state deletion for Functions. Ran into a use-case where it would be nice to be able to let go of state wherein the key is changing but the data itself is ephemeral. ### Modifications I've reflected the changes in the bookkeepr API back through in the context and state context API's so that you can delete on a put by passing null or call the new api for delete. ### Verifying this change This change added tests and can be verified as follows: - Running the unit tests available in the ContextImplTest and ContextStateImplTest
-
- 27 9月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
-
- 27 8月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
-
- 26 7月, 2019 1 次提交
-
-
由 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)
-
- 22 7月, 2019 1 次提交
-
-
由 vzhikserg 提交于
* Convert anonymous functions to lambda * Replacing lambda with anonymous implementation, because lambda cannot be mocked
-
- 13 7月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* Use classloading to load use code for functions
-
- 10 7月, 2019 1 次提交
-
-
由 Matteo Merli 提交于
Upgrading to Mockito 2.28 and PowerMock 2.0. This a pre-step to be able to run CI with Java 11 / 12
-
- 24 5月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
-
- 15 5月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Added an explicit field in the function details for componenttype * Fixed unittests * Updated the defn of python pb file * Added licence * Took feedback into account * Added unittest
-
- 05 5月, 2019 1 次提交
-
-
由 冉小龙 提交于
Master Issue: #4042 Fixes #4042 Motivation improve java functions API, when you need to publish the fields in the TypedMessageBuilder, there is no need to add a new publish method, just modify the interface in the TypedMessageBuilder.
-
- 13 4月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* Allow to configure TypedMessageBuilder through a Map conf object * Use constants for message confs * Reverted previous change * Use Long instead of Number * Set key for message when using function publish * fix unit test * fix python test * improving impl * improving implementation * add tests and examples * fix bug * fix bug * fixing comments * fix example * addressing comments * fix function
-
- 05 4月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Add Async State manipulation methods * Fix build * Fixed unittest
-
- 02 4月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* Consolidating utils classes * further refactoring * adding missing class * add license header
-
- 28 3月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
1) Collect input topics from the function details spec 2) Catch all errors during source/sink close since its user code
-
- 24 3月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* fix: NPE when stats manager not initialized * remove unnecessary imports * add test
-
- 09 3月, 2019 1 次提交
-
-
由 wpl 提交于
### Motivation when I study and read this module code , I fix some error like: 1. words error, such as JaveInstance -> JavaInstance, Recieved -> Received, Unknwon -> Unknown, alterted -> alterted, Updare -> Update, etc. 2. remove not use import java class. 3. duplicated code in this java class I extract method. 4. javadoc styles are consistent (not required) ### Modifications minor fix up in pulsar-functions module
-
- 05 3月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* On publish failures, log error and count them as sys exceptions * Took feedback
-
- 26 2月, 2019 1 次提交
-
-
由 Like 提交于
Closes #3663
-
- 24 2月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* report sys errors when failed to produce sucessfully * enhancing error message * adding metrics to context publish * enhancing error logging and adding java error handling * fixing tests * cleaning up * addressing comments and fix bug * cleaning up * fix bug * fix test * check is none * fix unit test * cleaning up
-
- 13 2月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* moved all windowing related code into its own submodule. * added pom
-
- 15 1月, 2019 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Added WindowFunction interface and implementation * Fixed logic * Update comments * Took feedback into account
-
- 08 1月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
Clean up and correct properties to producer and consumers created by Functions/Sinks/Sources (#3315) * clean up and correct properties to producer and consumers created by functions * fix test * cleaning up comment * refactoring
-
- 01 1月, 2019 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* add sink and source prometheus stats * fixing stuff
-
- 22 12月, 2018 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* fix bug involving consumer producer deadlock in functions * fix unit test
-
- 15 12月, 2018 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* remove pulsar-client-schema * shade avro dependencies in pulsar-client-kafka-shaded * refactor api to separate module * adding schema back * cleaning up * fix license issue * fixing licenses * cleaning up * adding back lombok * cleaning up
-
- 09 11月, 2018 1 次提交
-
-
由 Boyang Jerry Peng 提交于
* fix bugs in python metrics * instance expose metrics * remove commented out code * fix unit tests * remove commented out code * fixing test * fix python instance test * removing old code * fix bug * refactoring java metrics * refactoring python metrics * cleaning up code * removing unneccessary code * improving metrics format * fixing test * fix bugs and revising format * fix bug * fix for python3 * change user defined metric to summary * renaming labels * change back python
-
- 02 11月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Consolidate all inferMissing logic inside ConfigUtils. * Removed tests that are already covered in windowconfigutils * Reverted unneeded change
-
- 31 10月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Hooked up secrets function api with secret function implementations * Fixed unittest * Added more docs * Took feedback into account
-
- 24 10月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
-
- 23 10月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Added Get and List source/sink functionality * Fixed compile * Removed test that doesnt make sense any more * Fixed build * Fixed logic * Return error response * Return response on error * Fix unittest * Fixed unittest * Fixed unittest * Fixed unittest * Added get/list sinks tests * Added get/list tests * Add more unittests * Added more unittests * Added TODO * Took feedback * Fix unittest * Fix unittest * Fix unittest * Fixed integration tests * Fixed integration test * Added restart/stop functionality to the sources/sinks * Added getstatus method to sources/sink * Fix integration tests * Do Explicit Validation of Configs instead of annotations * Remove all annotations from config files * Removed validator related classes * Removed unused imports * Fix check logic * fix compilation * Fix unittest * Fixed unittest * Fixed unittest * Validator tests should be done elsewhere * Added unittest * Fixed unittest
-
- 10 10月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
* Do not create any producer if the output type of a function is void * Do not write if the record is null * Revert the check for null
-
- 07 10月, 2018 1 次提交
-
-
由 Sanjeev Kulkarni 提交于
-