Streaming data in palantir foundry - Stack Overflow

admin2025-05-02  1

I have implemented the streaming pipeline using pipeline builder and everything works fine. It get updated every 5 secs. Now I have to implement the same logic using code repository. Wanted to check if anyone have already tried to implement the same and how does it work? Is there any specific decorator or just @increment should be used?

I have implemented the streaming pipeline using pipeline builder and everything works fine. It get updated every 5 secs. Now I have to implement the same logic using code repository. Wanted to check if anyone have already tried to implement the same and how does it work? Is there any specific decorator or just @increment should be used?

Share Improve this question asked Jan 2 at 12:33 ArvindArvind 3012 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Pipeline Builder is the main way to build streaming pipelines.

To my knowledge, you can't use a Code Repository to define your Streaming pipelines the same way you do with Pipeline Builder.

However, you can use Code Repositories to define Streaming UDFs, which then can be called from Pipeline builder like any other transformation. You can essentially build your own "library" of function (which can output 1 or N rows, keyed or not, etc.) and use those bricks in Pipeline Builder. https://www.palantir.com/docs/foundry/transforms-java/user-defined-functions#publish-to-a-deployment-repository

转载请注明原文地址:http://www.anycun.com/QandA/1746120143a91946.html