You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/01/15 05:22:41 UTC

[GitHub] [incubator-seatunnel] xyhc edited a comment on issue #1034: [Bug]start-seatunnel-structured-streaming.sh ERROR

xyhc edited a comment on issue #1034:
URL: https://github.com/apache/incubator-seatunnel/issues/1034#issuecomment-1010871489


   seatunnel config(realtimeaggr.conf):
   
   ```
   spark {
     spark.app.name = "seatunnel"
     spark.executor.instances = 2
     spark.executor.cores = 1
     spark.executor.memory = "1g"
   }
   
   input {
   
     kafkaStream {
       consumer.bootstrap.servers = "127.0.0.1:9092"
       topics = "seatunnel_input"
       consumer.group.id = "seatunnel_input_group_id"
       result_table_name = "seatunnel_message"
     }
   }
   
   filter {
   
     sql {
         sql = "select string(value) as raw_message from seatunnel_message"
     }
   
     json {
       source_field = "raw_message"
       target_field = "jsonMap"
       schema_file = "demo.json"
       result_table_name = "flatten_msg"
     }
   
   }
   
   output {
     stdout {
       streaming_output_mode = "Append"
     }
   }
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org