masterlemmi opened a new issue #1791:
URL: https://github.com/apache/hudi/issues/1791


   **_Tips before filing an issue_**
   
   - Have you gone through our 
[FAQs](https://cwiki.apache.org/confluence/display/HUDI/FAQ)? Yes
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   1. I need to listen to multiple kafka topics and save messages to 
corresponding tables. Does DeltaStreamer allow that? and does the processing of 
each stream/topic run in parallel?
   
   2. I am also exploring Spark Streaming and using Spark DataSource.  
basically something like this
   `DSTREAM.map(x =>(x.topic, List(x.value())))
         .reduceByKey(_:::_)
         .map(processAndSavetoHudi)
        .print()
   `
   
   Is it possible to run hudi upserts from the executor tasks (i.e. from the 
Dstream.map function) ? The foreachrdd function doesn't process streams in 
parallel, so I am trying to use the map function and save each stream to hudi 
from the workers.
   
   A clear and concise description of the problem.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1.
   2.
   3.
   4.
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version : 5.2
   
   * Spark version : 2.4.5.
   
   * Hive version : 2.3.3
   
   * Hadoop version : 2.8
   
   * Storage (HDFS/S3/GCS..) : no
   
   * Running on Docker? (yes/no) :
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to