Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIP-15: Pulsar Functions #1314

Merged
merged 272 commits into from
Mar 4, 2018
Merged

PIP-15: Pulsar Functions #1314

merged 272 commits into from
Mar 4, 2018
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 4, 2018

  1. Fix tests (apache#24)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Fix void type handling
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5f3b93e View commit details
    Browse the repository at this point in the history
  2. Buffer limit (apache#25)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Added a way to limit the number of outstanding tuples read but still not executed
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f883f16 View commit details
    Browse the repository at this point in the history
  3. Relocate packages (apache#21)

    * Relocate instance and spawner to be under `runtime` package
    * fix the pom files and travis build
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5adc066 View commit details
    Browse the repository at this point in the history
  4. System exception (apache#26)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Introduced the concept of systemException to differentiate from userException
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    117f816 View commit details
    Browse the repository at this point in the history
  5. Refactor cli (apache#27)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Refactor cli to establish a base FunctionCommand interface that all subcommands can piggyback
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f026ef8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    13bbbf7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    316f834 View commit details
    Browse the repository at this point in the history
  8. Make SerDe interface a generic interface and load the serde class in …

    …JavaInstance (apache#30)
    
    ### Motivation
    
    SerDe is user defined class which used for serializing and deserializing objects for functions. So the initialization of a SerDe class should happen along with Function class and done by the context class loader.
    
    Also SerDe should be a generic-typed interface and the type should be consistent with function type.
    
    ### Modifications
    
    - make SerDe a generic-typed interface
    - move SerDe initialization to JavaInstance and use the thread context class loader
    - verify SerDe type
    - move reflection related code to a util class `Reflections`
    
    ### Result
    
    - SerDe is a generic-typed interface
    - JavaInstance initializes both function and serdes and verifies the types.
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    275daf0 View commit details
    Browse the repository at this point in the history
  9. Input and Output Serdes (apache#31)

    ### Motivation
    
    input type can be different output type. so we need two serdes for each function.
    
    ### Modifications
    
    - add inputSerde and outputSerde
    - verify both input and output serde to make sure their types are consistent with function types
    
    ### Result
    
    user run functions with input/output serdes.
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    a548bc2 View commit details
    Browse the repository at this point in the history
  10. Nomenclature (apache#32)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Made our function hierarchy match pulsar's
    
    * Replace cluster with tenant
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    4dd4089 View commit details
    Browse the repository at this point in the history
  11. Added Submit Function capability to the pulsar-functions cli (apache#33)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Added the first cut of the pulsar submit
    
    * Working
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    48d4aa4 View commit details
    Browse the repository at this point in the history
  12. Cleanup (apache#34)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    3227065 View commit details
    Browse the repository at this point in the history
  13. Fix compilation (apache#35)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Fix compilation issue
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    da66b2d View commit details
    Browse the repository at this point in the history
  14. Make producer and consumer async

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    3f7d304 View commit details
    Browse the repository at this point in the history
  15. Asyncack (apache#37)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Made ack async
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    7fbe342 View commit details
    Browse the repository at this point in the history
  16. Nonthreadpool (apache#38)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * In case of Kstream style running, we dont need to spawn a executor service to run the message
    
    * Update comment
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    e90b308 View commit details
    Browse the repository at this point in the history
  17. Provide a jmh benchmark to benchmark thread container (apache#39)

    * Provide a jmh benchmark to benchmark thread container
    
    * Rebased to latest master
    
    * revert the scripts
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5c1e369 View commit details
    Browse the repository at this point in the history
  18. Reconcile (apache#40)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Reconciled the interface between worker and client with Jerry
    
    * Fixed the update method
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    4b4bea7 View commit details
    Browse the repository at this point in the history
  19. Made Update a put request (apache#41)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Adhere to rest semantics
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    a1b1ea5 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    27f4c0b View commit details
    Browse the repository at this point in the history
  21. Completecli (apache#43)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Adhere to rest semantics
    
    * Complete the list of functions supported by cli
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5077d71 View commit details
    Browse the repository at this point in the history
  22. Introduce FunctionStats to collection function related stats (apache#44)

    * Introduce FunctionStats to collection function related stats
    
    * Format license headers
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0444ac4 View commit details
    Browse the repository at this point in the history
  23. Fileinterface (apache#45)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Adhere to rest semantics
    
    * Convert create function to a post request
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5ea8065 View commit details
    Browse the repository at this point in the history
  24. Print (apache#46)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Adhere to rest semantics
    
    * Print the return values for get/list functions. Also print some statements on success
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5c4b286 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    570d59c View commit details
    Browse the repository at this point in the history
  26. Fix license header (apache#48)

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    103d20d View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    8824efb View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    84a8040 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    0c113d7 View commit details
    Browse the repository at this point in the history
  30. Rename functionstate (apache#52)

    * Create pulsar-functions module (#1)
    
    * Create pulsar-functions module
    
    * rename `sdk` package to `api`
    
    * Added the first cut of the Java interface for Pulsar functions (#2)
    
    * Adhere to rest semantics
    
    * Renamed FunctionState to FunctionMetaData
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    59ec630 View commit details
    Browse the repository at this point in the history
  31. Renamed FunctionState stuff to something that reflects their function…

    …ality (apache#53)
    
    * Renamed FunctionState stuff to something that reflects their functionality
    
    * More removal of state
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    793b1cf View commit details
    Browse the repository at this point in the history
  32. Refactor to support at-least-once processing (apache#54)

    * Refactor to support at-least-once processing
    
    This change is refactoring the relationship between Spawner, FunctionContainer and JavaInstance to better support various processing semantics.
    
    - ThreadFunctionContainerFactory is a "singleton" across multiple functions.
    - Spawner, FunctionContainer and JavaInstance are per function. Spawner is manging the lifecycle of function container, in the function container
      it will folks a thread for running java instance, because it has to load classpathes correctly.
    - Remove subscribermanager and move consumer and producer logic into container. that means in future if we are supporting process based and docker
      based container, we can just take the thread container and run it directly as a separate process or a separate docker process. There is no
      extra communication between spawner and containers.
    
    * Create pulsar client in thread container factory
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d0c231e View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    7c10a31 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    eefe67e View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    58a5392 View commit details
    Browse the repository at this point in the history
  36. fixing log functions (apache#58)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    507b938 View commit details
    Browse the repository at this point in the history
  37. Use LinkedBlockingQueue#put and ack before processing for at-most-onc…

    …e processing (apache#59)
    
    * Use LinkedBlockingQueue#put to enqueue items
    
    * Revert it back to at-most-once processing
    
    * remove ack for void functions
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    4f107d3 View commit details
    Browse the repository at this point in the history
  38. Added atmost once and atleast once semantics (apache#60)

    * Added atmost once and atleast once semantics
    
    * Added ability to specify processing guarantees in command line
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    4c973c8 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    38a5987 View commit details
    Browse the repository at this point in the history
  40. add/fixes the following: (apache#62)

    1. upload packages to bookkeeper will include a UUID
    2. incorrect setName - > setNamespace
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    43a09e6 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    9902a32 View commit details
    Browse the repository at this point in the history
  42. Organize function packages in hierarchy (apache#65)

    * Add worker main
    
    * Organize function packages in hierarchy
    
    - functions are stored under distributedlog://<zkservers>/pulsar/functions/<tenant>/<namespace>/<function>/<package_name>
    - initialize dlog namespace at the startup of worker
    - use zookeeperServers in worker config instead of dlogUri to hide dlog from pulsar configuration. make it consistent with broker configuration.
    
    * Addressed comments
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ef7657c View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c74e545 View commit details
    Browse the repository at this point in the history
  44. Added FunctionActioner to start/stop functions in seperate thread (ap…

    …ache#68)
    
    * Added FunctionActioner to start/stop functions in seperate thread
    
    * Fixed a bug
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d14c23a View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    61650f3 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    5fe559d View commit details
    Browse the repository at this point in the history
  47. Added more logging. Also changed getFunctions to return 404 when not …

    …found (apache#71)
    
    * Added more logging. Also changed getFunctions to return 404 when not found
    
    * Fixed logging
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8a0cd54 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    4e6adca View commit details
    Browse the repository at this point in the history
  49. More graceful warning when args are missing (apache#72)

    * More graceful warning when args are missing
    
    * Make use of Annotations
    
    * Tests work
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    7e14c8f View commit details
    Browse the repository at this point in the history
  50. add client side class validation (apache#70)

    * add client side class validation
    
    * adding and fixing
    
    * cleaning up
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f1081f8 View commit details
    Browse the repository at this point in the history
  51. Bug fix and add log messages (apache#75)

    * adding some log messages
    
    * fixing
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    2dc4a5b View commit details
    Browse the repository at this point in the history
  52. Function Logging (apache#74)

    * Function Logging
    
    - use log4j2 to route function related logging
    
    * Add logging function and include tenant/namespace in logging file path
    
    * Add missing files
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    b662fe6 View commit details
    Browse the repository at this point in the history
  53. Name our threads (apache#76)

    * Name our threads
    
    * We already set the name of runner thread
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    992e947 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    46d8874 View commit details
    Browse the repository at this point in the history
  55. Fix spelling (apache#78)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    638e3c7 View commit details
    Browse the repository at this point in the history
  56. fixing bugs and adding assignments datastructure (apache#79)

    * fixing bugs and adding assignments datastructure
    
    * using fully qualified name
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    6a4592a View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    8002e3b View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    2fc20b5 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    ee0ba86 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    ab3007f View commit details
    Browse the repository at this point in the history
  61. If the function is not found, send 404 (apache#84)

    * If the function is not found, send 404
    
    * Fix unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5dcf03a View commit details
    Browse the repository at this point in the history
  62. Pulsar worker uses routing appender (apache#85)

    * Fix upload path issue
    
    * fix logging
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    aa19226 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    d5955d8 View commit details
    Browse the repository at this point in the history
  64. Added getstatus function (apache#87)

    * Added getstatus function
    
    * Changed to GetFunctionStatus
    
    * Added licence header
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f4130f8 View commit details
    Browse the repository at this point in the history
  65. Refactor worker to make sure that FunctionActioner is just an actione…

    …r. Also consolidate all info in worker in FunctionRuntimeInfo (apache#88)
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5650574 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    1b0607a View commit details
    Browse the repository at this point in the history
  67. Move worker module out of runtime module (apache#90)

    * Move worker module out of runtime module
    
    * Fix license header issues
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d82a04f View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    71997bb View commit details
    Browse the repository at this point in the history
  69. Made use of LimitsConfig in JavaInstanceConfig (apache#92)

    * Made use of LimitsConfig in JavaInstanceConfig
    
    * Add uncommited file
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    493e54a View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    f65c4a4 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    72a9804 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    9abeef2 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    fe80a6c View commit details
    Browse the repository at this point in the history
  74. updating generated code dir (apache#97)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d07897a View commit details
    Browse the repository at this point in the history
  75. fixing generated dir (apache#98)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ce81cb7 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    426ab54 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    7b24f68 View commit details
    Browse the repository at this point in the history
  78. Refactor functions module structure (apache#101)

    because pulsar-client is using patched protobuf, while dlog/bookkeeper/functions uses same proto3.
    
    - move cli related classes to a CLI module
    - use pulsar-client (shaded jar) for runtime
    - use dlog (unshaded jar) in worker
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8316228 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    a0e4204 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    ec46e1a View commit details
    Browse the repository at this point in the history
  81. Migrating FunctionConfig, FunctionMetaData, and ServiceRequest to pro…

    …to (apache#104)
    
    * Migrating data structures to protobuf
    
    * fixing bugs
    
    * removing unneccessary files
    
    * fixing dependency issues
    
    * fixing wrong dependency
    
    * correct proto files
    
    * fixing issues
    
    * fix worker bug
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d02ae48 View commit details
    Browse the repository at this point in the history
  82. Added ProcessContainerFactory (apache#105)

    * Added Process based container factory
    
    * Added java instance log4j
    
    * Generate uberjar
    
    * Added log directory for process container
    
    * Better naming
    
    * Corrected java command line
    
    * More changes to get things to work
    
    * Fixed process args
    
    * Temp change that needs to be reverted
    
    * Merge conflict
    
    * Siwthced to gprc 1.5.0 for netty compat
    
    * Getter for ProcessBuilder
    
    * Added test
    
    * Added container info
    
    * Send Internal Server Error if we have trouble with the request
    
    * Dont use unsupported apis
    
    * Revert changes
    
    * Make Thread container as default
    
    * Fix build
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    cb74f21 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    7ea376a View commit details
    Browse the repository at this point in the history
  84. Added Metric Interface (apache#107)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d400a03 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    1c4bbaf View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    5bf96a7 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    674b2a2 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    45c807e View commit details
    Browse the repository at this point in the history
  89. Shade pulsar-client-admin (apache#112)

    * Provide a shade `pulsar-client-admin` module
    
    * avoid shaded pulsar direct depenencies
    
    * Shade `pulsar-client-tools-shaded` as well
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8d4ff95 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    4cbec31 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    882d56f View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    8fcdd09 View commit details
    Browse the repository at this point in the history
  93. Use pulsar-client-tools-shaded jar to avoid inconsistency between s…

    …haded jars and avoid shading jackson (apache#116)
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    693ae3b View commit details
    Browse the repository at this point in the history
  94. Fixing response and cli (apache#117)

    * fixing response codes and cli
    
    * cleaning up
    
    * fixing unit tests
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    2cb75ba View commit details
    Browse the repository at this point in the history
  95. Configuration menu
    Copy the full SHA
    ba06963 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    2e438b5 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    28ff628 View commit details
    Browse the repository at this point in the history
  98. Move SerDe to api (apache#120)

    * Move SerDe to api
    
    * Incorporate comments
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5dfbb27 View commit details
    Browse the repository at this point in the history
  99. Added publish interface to the api (apache#123)

    * Added publish interface to the api
    
    * Address comments
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    b3a8b21 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    65f02b3 View commit details
    Browse the repository at this point in the history
  101. Added ability to specify subscription type (apache#124)

    * Added ability to specify subscription type
    
    * Fixed build
    
    * Do not expose subscription type in cmd line
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f2d511e View commit details
    Browse the repository at this point in the history
  102. Added runtime descriptor in functionConfig (apache#126)

    * Added runtime descriptor in functionConfig
    
    * Fixed unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    6c380c4 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    f50a68e View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    850c1bd View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    0e84121 View commit details
    Browse the repository at this point in the history
  106. Renamed RequestHandler to PulsarFunction (apache#131)

    * Renamed RequestHandler to PulsarFunction
    
    * Fixed header
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    624afe7 View commit details
    Browse the repository at this point in the history
  107. Added python api (apache#132)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8f571de View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    b590e8b View commit details
    Browse the repository at this point in the history
  109. adding user acking and fixing bugs (apache#134)

    * adding user acking and fixing bugs
    
    * cleaning up
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0863c22 View commit details
    Browse the repository at this point in the history
  110. First cut of Python Instance that just parses the arguments and start… (

    apache#135)
    
    * First cut of Python Instance that just parses the arguments and starts a server to process incoming requests
    
    * Add license header
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    fea9805 View commit details
    Browse the repository at this point in the history
  111. First of cut of windowing for Pulsar Functions (apache#136)

    * adding windowing to Pulsar functions
    
    * cleaning up
    
    * relocating code
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    6f853cd View commit details
    Browse the repository at this point in the history
  112. renaming to streamlet (apache#138)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0ee69b9 View commit details
    Browse the repository at this point in the history
  113. Provide a copy task in runtime package phase to copy all python-insta…

    …nce required files into `target/python-instance` (apache#137)
    
    * Provide a copy task in runtime package phase to copy all python-instance required files into `target/python-instance`
    
    * cp api-python to target/python-instance/pulsar-function
    fix the licenses headers
    
    * Change `pulsar-function` to `pulsarfunction`
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0667a47 View commit details
    Browse the repository at this point in the history
  114. Feature Complete Python Instance. (apache#139)

    * Feature rich python instance
    
    * Seperate out python instance from main
    
    * Functionally complete python
    
    * Fix syntax
    
    * Fix errors
    
    * More fixes
    
    * Semi working version
    
    * Fixed more errors in the produce path
    
    * User userCodeFile instead of jarFile
    
    * ProcessContainer launches correct python process
    
    * Stupid identation bug
    
    * Downloaded file should have the same name as the module
    
    * Added more comments
    
    * Fix a log issue
    
    * Add licence header
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d2f32e8 View commit details
    Browse the repository at this point in the history
  115. Kill process upon shutdown (apache#140)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    a2ed4c2 View commit details
    Browse the repository at this point in the history
  116. Quit cleanly upon ctrl-c (apache#141)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f1c403c View commit details
    Browse the repository at this point in the history
  117. Propagate Auto Acking information to the processes (apache#142)

    * Retain server instance.
    
    * Pass AutoAcking information
    
    * By Default set auto acking to true
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    bc074c8 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    937b57d View commit details
    Browse the repository at this point in the history
  119. Configuration menu
    Copy the full SHA
    7af9d02 View commit details
    Browse the repository at this point in the history
  120. Event time windowing for Pulsar Functions (apache#145)

    * event time windowing for Pulsar Functions
    
    * cleaning up
    
    * fixing logging
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    331e658 View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    5241991 View commit details
    Browse the repository at this point in the history
  122. moving windowing code (apache#147)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f77cd00 View commit details
    Browse the repository at this point in the history
  123. Overhaul stats in both Java and Python instances (apache#148)

    * Overhaul stats in both Java and Python instances
    
    * Added licence header
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    1ebc04d View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    caddfd7 View commit details
    Browse the repository at this point in the history
  125. adding unittest for windowing (apache#150)

    * adding unittest for windowing
    
    * cleaning up
    
    * removing print line
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    3682ed0 View commit details
    Browse the repository at this point in the history
  126. Correct spacing (apache#151)

    * fixing spacing
    
    * adding end file newline
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    4b24eb6 View commit details
    Browse the repository at this point in the history
  127. changing publish function to accept string for classname (apache#152)

    * changing publish function to accept string for classname
    
    * cleaning up
    
    * making change for python api
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    907b6e4 View commit details
    Browse the repository at this point in the history
  128. Configuration menu
    Copy the full SHA
    27cb857 View commit details
    Browse the repository at this point in the history
  129. correcting header files (apache#154)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    86c8897 View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    a94e2d8 View commit details
    Browse the repository at this point in the history
  131. Configuration menu
    Copy the full SHA
    f0d9e1d View commit details
    Browse the repository at this point in the history
  132. Remove type checking since Serde is now exposed (apache#159)

    * Remove logic of supported types since serde is now exposed to the user
    
    * Fix test
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5f55daa View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    6e8d14e View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    4a82004 View commit details
    Browse the repository at this point in the history
  135. Configuration menu
    Copy the full SHA
    21aec14 View commit details
    Browse the repository at this point in the history
  136. Configuration menu
    Copy the full SHA
    46fe5d2 View commit details
    Browse the repository at this point in the history
  137. Configuration menu
    Copy the full SHA
    3f963d8 View commit details
    Browse the repository at this point in the history
  138. Configuration menu
    Copy the full SHA
    4396db6 View commit details
    Browse the repository at this point in the history
  139. Improve pulsar functions logging (apache#165)

    - inject instance id in thread context. so we can have instance id information in function log
    - rename dlog logging to bk logging, so all bk/dlog logging can be routed there
    - add more variables to allow overrides by sys variables
    - fixes some scripts
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    989f59d View commit details
    Browse the repository at this point in the history
  140. Configuration menu
    Copy the full SHA
    2f6167e View commit details
    Browse the repository at this point in the history
  141. Configuration menu
    Copy the full SHA
    efce272 View commit details
    Browse the repository at this point in the history
  142. Allow two types of input. (apache#170)

    1) one with DefaultSerDe
    2) one with custom SerDe
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    edbae3c View commit details
    Browse the repository at this point in the history
  143. Make Output Serde Optional (apache#171)

    * Make Output Serde Optional
    
    * Fix unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    5f84eb1 View commit details
    Browse the repository at this point in the history
  144. Infer Missing Arguments (apache#172)

    * Infer Missing Arguments
    
    * Added unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    3424041 View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    0e4a4da View commit details
    Browse the repository at this point in the history
  146. Configuration menu
    Copy the full SHA
    bcecfcc View commit details
    Browse the repository at this point in the history
  147. Change the log file name to the name of the function. This greatly as… (

    apache#175)
    
    * Change the log file name to the name of the function. This greatly assists in the debugging
    
    * Fix unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    06e7d74 View commit details
    Browse the repository at this point in the history
  148. Configuration menu
    Copy the full SHA
    3b7d1f4 View commit details
    Browse the repository at this point in the history
  149. Move SimpleSerDe to api (apache#177)

    * Move SimpleSerDe to api
    
    * Renamed SimpleSerDe to DefaultSerDe
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    d498fa9 View commit details
    Browse the repository at this point in the history
  150. Configuration menu
    Copy the full SHA
    138da83 View commit details
    Browse the repository at this point in the history
  151. Configuration menu
    Copy the full SHA
    14b0fe4 View commit details
    Browse the repository at this point in the history
  152. Configuration menu
    Copy the full SHA
    75ce665 View commit details
    Browse the repository at this point in the history
  153. Configuration menu
    Copy the full SHA
    467f6e4 View commit details
    Browse the repository at this point in the history
  154. Configuration menu
    Copy the full SHA
    ecf223c View commit details
    Browse the repository at this point in the history
  155. Fix python location (apache#168)

    * Improve pulsar functions logging
    
    - inject instance id in thread context. so we can have instance id information in function log
    - rename dlog logging to bk logging, so all bk/dlog logging can be routed there
    - add more variables to allow overrides by sys variables
    - fixes some scripts
    
    * Improve the logic for finding java instance location
    
    * Improve configuring log directory for pulsar worker
    
    * Fix python location
    
    * Fix license header
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    aa36dcb View commit details
    Browse the repository at this point in the history
  156. Configuration menu
    Copy the full SHA
    10e45d6 View commit details
    Browse the repository at this point in the history
  157. Configuration menu
    Copy the full SHA
    a954d96 View commit details
    Browse the repository at this point in the history
  158. Configuration menu
    Copy the full SHA
    3448c10 View commit details
    Browse the repository at this point in the history
  159. Configuration menu
    Copy the full SHA
    180f01f View commit details
    Browse the repository at this point in the history
  160. Configuration menu
    Copy the full SHA
    dfb333f View commit details
    Browse the repository at this point in the history
  161. Fixing Function get status (apache#188)

    * Fixing Function get status
    
    * cleaning up
    
    * adding back comment
    
    * removing unneccessary dep
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    79a3b78 View commit details
    Browse the repository at this point in the history
  162. Configuration menu
    Copy the full SHA
    555a08b View commit details
    Browse the repository at this point in the history
  163. Configuration menu
    Copy the full SHA
    0c7e7b5 View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    ef5f986 View commit details
    Browse the repository at this point in the history
  165. Configuration menu
    Copy the full SHA
    37a0b63 View commit details
    Browse the repository at this point in the history
  166. Configuration menu
    Copy the full SHA
    a025bfe View commit details
    Browse the repository at this point in the history
  167. Configuration menu
    Copy the full SHA
    dd8b4a8 View commit details
    Browse the repository at this point in the history
  168. Configuration menu
    Copy the full SHA
    dfcfe5f View commit details
    Browse the repository at this point in the history
  169. adding check for failures subroutine and fixing worker delete bug (ap…

    …ache#196)
    
    * adding check for failures subroutine and fixing worker delete bug
    
    * adding license header
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ac5ca04 View commit details
    Browse the repository at this point in the history
  170. Correct the order of checking (apache#197)

    * Correct the order of checking
    
    * Fix more logic
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    922494e View commit details
    Browse the repository at this point in the history
  171. Configuration menu
    Copy the full SHA
    868d21d View commit details
    Browse the repository at this point in the history
  172. Configuration menu
    Copy the full SHA
    6779f3a View commit details
    Browse the repository at this point in the history
  173. Configuration menu
    Copy the full SHA
    8df9d54 View commit details
    Browse the repository at this point in the history
  174. Configuration menu
    Copy the full SHA
    631f22f View commit details
    Browse the repository at this point in the history
  175. Configuration menu
    Copy the full SHA
    a9c2437 View commit details
    Browse the repository at this point in the history
  176. Configuration menu
    Copy the full SHA
    3af1d48 View commit details
    Browse the repository at this point in the history
  177. Configuration menu
    Copy the full SHA
    1832b52 View commit details
    Browse the repository at this point in the history
  178. Configuration menu
    Copy the full SHA
    4b730b1 View commit details
    Browse the repository at this point in the history
  179. Since we assuming that user key/value are all strings, explicitly tra…

    …nsform result to str (apache#208)
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    f11f192 View commit details
    Browse the repository at this point in the history
  180. Fix variable name (apache#210)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    911d289 View commit details
    Browse the repository at this point in the history
  181. Configuration menu
    Copy the full SHA
    c08b392 View commit details
    Browse the repository at this point in the history
  182. Configuration menu
    Copy the full SHA
    0d44440 View commit details
    Browse the repository at this point in the history
  183. Configuration menu
    Copy the full SHA
    6fc757e View commit details
    Browse the repository at this point in the history
  184. Configuration menu
    Copy the full SHA
    b64644c View commit details
    Browse the repository at this point in the history
  185. Configuration menu
    Copy the full SHA
    4b62d14 View commit details
    Browse the repository at this point in the history
  186. fixing bug in scheduler (apache#215)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    2dccc85 View commit details
    Browse the repository at this point in the history
  187. Rename FunctionConfig names to make them more consistent (apache#216)

    * Rename FunctionConfig names to make them more consistent
    
    * Added generated python file
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    7fd924f View commit details
    Browse the repository at this point in the history
  188. Configuration menu
    Copy the full SHA
    43ec19b View commit details
    Browse the repository at this point in the history
  189. Configuration menu
    Copy the full SHA
    21212a1 View commit details
    Browse the repository at this point in the history
  190. Configuration menu
    Copy the full SHA
    d21341c View commit details
    Browse the repository at this point in the history
  191. Configuration menu
    Copy the full SHA
    1bb2ccf View commit details
    Browse the repository at this point in the history
  192. Removed LimitsConfig (apache#222)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0c94f29 View commit details
    Browse the repository at this point in the history
  193. Configuration menu
    Copy the full SHA
    d1699b2 View commit details
    Browse the repository at this point in the history
  194. Configuration menu
    Copy the full SHA
    4b89453 View commit details
    Browse the repository at this point in the history
  195. Configuration menu
    Copy the full SHA
    e724141 View commit details
    Browse the repository at this point in the history
  196. adding checks for parallelism (apache#225)

    * adding checks for parallelism
    
    * fixing unit test
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    adcdf68 View commit details
    Browse the repository at this point in the history
  197. adding instance id to get status (apache#226)

    * adding instance id to get status
    
    * regen python protobuf
    
    * cleaning up
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    0393713 View commit details
    Browse the repository at this point in the history
  198. Configuration menu
    Copy the full SHA
    fe1bb68 View commit details
    Browse the repository at this point in the history
  199. Configuration menu
    Copy the full SHA
    e47af0c View commit details
    Browse the repository at this point in the history
  200. Log before quitting (apache#228)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8f1f022 View commit details
    Browse the repository at this point in the history
  201. Configuration menu
    Copy the full SHA
    f6b914d View commit details
    Browse the repository at this point in the history
  202. Configuration menu
    Copy the full SHA
    f8152c8 View commit details
    Browse the repository at this point in the history
  203. Configuration menu
    Copy the full SHA
    fe6747b View commit details
    Browse the repository at this point in the history
  204. Fix NPE on serializing MembershipManager (apache#235)

    
    *Problem*
    
    If we assign workerConfig after setting consumer listener, when `ConsumerStats` tries to dump the consumer configuration,
    it will throw NPE.
    
    *Solution*
    
    apache#1260 tried to ignore listener fields for json serialization
    
    this change focus on avoiding NPE on serializing MembershipManager
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    64d2b18 View commit details
    Browse the repository at this point in the history
  205. Configuration menu
    Copy the full SHA
    e3403c5 View commit details
    Browse the repository at this point in the history
  206. Configuration menu
    Copy the full SHA
    27ad9c7 View commit details
    Browse the repository at this point in the history
  207. Effectively once support (apache#230)

    * Add `join` interface to container to wait for a container (apache#121)
    
    * add producers
    
    * Effective-Once support
    
    * Fix conflict after rebase
    
    * add tests
    
    * fix tests
    
    * address the test
    
    * Add more tests
    
    * remove lombok from api
    
    * remove getType
    
    * Fix concurrent modification issue in the tests
    
    * Register send future before enqueuing message
    
    * improve the test
    
    * Use conditional remove
    
    * remove the check
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    8a99e50 View commit details
    Browse the repository at this point in the history
  208. Configuration menu
    Copy the full SHA
    cb48b09 View commit details
    Browse the repository at this point in the history
  209. Revert "Move all the components required for running worker (except r…

    …est endpoint) to WorkerService (apache#239)" (apache#241)
    
    This reverts commit 8fd1fd1870753ea8fb2576873800380ac2cea3dd.
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    587da92 View commit details
    Browse the repository at this point in the history
  210. Configuration menu
    Copy the full SHA
    6b0e087 View commit details
    Browse the repository at this point in the history
  211. Move all the components required for running worker (except rest end…

    …point) to WorkerService (apache#242)
    
    * Move all the components required for running worker (except rest endpoint) to WorkerService (apache#239)
    
    * start worker service
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    914179c View commit details
    Browse the repository at this point in the history
  212. Configuration menu
    Copy the full SHA
    7da9755 View commit details
    Browse the repository at this point in the history
  213. Configuration menu
    Copy the full SHA
    f90c4d3 View commit details
    Browse the repository at this point in the history
  214. Cleanup WorkerService (apache#243)

    - pass `WorkerService` instance around in servlet context
    - rename `BaseApiResource` to `FunctionApiResource`
    - rename `ApiV1Resource` to `FunctionApiV1Resource`
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    b1306d6 View commit details
    Browse the repository at this point in the history
  215. Configuration menu
    Copy the full SHA
    fb5e34b View commit details
    Browse the repository at this point in the history
  216. Remove snapshotting (apache#246)

    * removing snapshotting
    
    * cleaning up
    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    753155d View commit details
    Browse the repository at this point in the history
  217. Bump log4j2 to 2.10.0

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    2e296ee View commit details
    Browse the repository at this point in the history
  218. Configuration menu
    Copy the full SHA
    d5285e2 View commit details
    Browse the repository at this point in the history
  219. Refactored instance related stuff into instance as well as rejiggered…

    … utils into its own module (apache#248)
    
    * Refactored instance related stuff into instance as well as rejiggered utils into its own module
    
    * Discard empty files
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    86f6cdc View commit details
    Browse the repository at this point in the history
  220. Configuration menu
    Copy the full SHA
    2d7a7f8 View commit details
    Browse the repository at this point in the history
  221. Configuration menu
    Copy the full SHA
    0497368 View commit details
    Browse the repository at this point in the history
  222. Address merge conflicts

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ee77f77 View commit details
    Browse the repository at this point in the history
  223. Configuration menu
    Copy the full SHA
    599077a View commit details
    Browse the repository at this point in the history
  224. Address conflicts after merged

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    41c9713 View commit details
    Browse the repository at this point in the history
  225. Configuration menu
    Copy the full SHA
    2412f80 View commit details
    Browse the repository at this point in the history
  226. revert zookeeper dependency

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    bbc1242 View commit details
    Browse the repository at this point in the history
  227. Upgrade dlog deps (apache#254)

    * Upgrade dlog dependency
    
    * Make pulsar functions work after rebase
    
    - bump zk version 3.5
    - use the same dlog version as bookkeeper
    - change standalone to use sorted ledger storage manager
    
    (this is a temp fix to address the issues after rebase)
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    b7d3083 View commit details
    Browse the repository at this point in the history
  228. Configuration menu
    Copy the full SHA
    9bc41ab View commit details
    Browse the repository at this point in the history
  229. Update threshold (apache#256)

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ab93a18 View commit details
    Browse the repository at this point in the history
  230. Configuration menu
    Copy the full SHA
    2fe4a38 View commit details
    Browse the repository at this point in the history
  231. Configuration menu
    Copy the full SHA
    7370fbc View commit details
    Browse the repository at this point in the history
  232. fix bug in scheduler (apache#260)

    jerrypeng authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    dc8f39c View commit details
    Browse the repository at this point in the history
  233. Configuration menu
    Copy the full SHA
    9114ddc View commit details
    Browse the repository at this point in the history
  234. Provide a distribution package for pulsar functions (apache#263)

    - the package will be generated under `dist/target/`
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    e5ed2ed View commit details
    Browse the repository at this point in the history
  235. Support parallelism parameter while running functions locally (apache…

    …#262)
    
    * Support parallelism parameter while running functions locally
    
    * Fixed the generation of java and python files
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    e417c57 View commit details
    Browse the repository at this point in the history
  236. Configuration menu
    Copy the full SHA
    68e1f3c View commit details
    Browse the repository at this point in the history
  237. Configuration menu
    Copy the full SHA
    981e472 View commit details
    Browse the repository at this point in the history
  238. Move the thread construction to start to avoid illegalstate (apache#266)

    * Move the thread construction to start to avoid illegalstate
    
    * Add more checks to see if thread var is init
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    6652c5a View commit details
    Browse the repository at this point in the history
  239. Fix serviceUrl for functions cli (apache#267)

    * Use `distributedlog-core-shaded` in pulsar worker
    
    * revert to db ledger storage
    
    * Include netty-all
    
    * Fix serviceUrl for functions cli
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    322f3af View commit details
    Browse the repository at this point in the history
  240. Improve function package download process (apache#268)

    - downloader is writing the package to a temp location
    - after a package is downloaded, a hardlink is created to link to the temp file. hardlink will ensure one createLink succeed.
    - after the hardlink is created, the temp files can be deleted.
    
    After this change, it allows concurrent downloading without interleaving with each other.
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    c350e1d View commit details
    Browse the repository at this point in the history
  241. Organize the function packages in tenant/namespace/function hierarchy (

    …apache#269)
    
    Example:
    
    ```
    (CONNECTING) />
    (CONNECTED) /> ls pulsar/functions/test
    test-namespace
    (CONNECTED) /> ls pulsar/functions/test/test-namespace
    function11
    function12
    function13
    (CONNECTED) /> ls pulsar/functions/test/test-namespace/function11
    8e4dcc81-3b00-4bf9-a489-1823b5514788-pulsar-functions-api-examples.jar
    (CONNECTED) /> ls pulsar/functions/test/test-namespace/function12
    0ee8e267-74cb-4178-99ea-6c723298223c-pulsar-functions-api-examples.jar
    (CONNECTED) /> ls pulsar/functions/test/test-namespace/function13
    8f1dea11-0070-434b-ba97-a42b44d8063c-pulsar-functions-api-examples.jar
    (CONNECTED) />
    ```
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    a68fb0d View commit details
    Browse the repository at this point in the history
  242. Resolve rebase conflicts

    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    82bccd1 View commit details
    Browse the repository at this point in the history
  243. Build classpath using compile scope (apache#272)

    The `compile` scope in dependency plugin means : compile, provided, and system dependencies
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    ae1ac31 View commit details
    Browse the repository at this point in the history
  244. Create ProcessBuilder at during start() so that start() can be called… (

    apache#273)
    
    * Create ProcessBuilder at during start() so that start() can be called multiple times from Spawner
    
    * Fix unittest
    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    2e49646 View commit details
    Browse the repository at this point in the history
  245. Configuration menu
    Copy the full SHA
    6ec05f9 View commit details
    Browse the repository at this point in the history
  246. Configuration menu
    Copy the full SHA
    46bc558 View commit details
    Browse the repository at this point in the history
  247. Configuration menu
    Copy the full SHA
    03df440 View commit details
    Browse the repository at this point in the history
  248. Better variable safety (apache#277)

    srkukarni authored and sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    433eb8b View commit details
    Browse the repository at this point in the history
  249. Configuration menu
    Copy the full SHA
    5245529 View commit details
    Browse the repository at this point in the history
  250. - Revert .travis.yml

    - Remove function-composition
    sijie committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    12dac7e View commit details
    Browse the repository at this point in the history