v1ctorShan opened a new issue, #5869:
URL: https://github.com/apache/seatunnel/issues/5869

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   kafka为自定义序列化消息体,在kafka.config配置value.deserializer没有效果
   
   ### SeaTunnel Version
   
   seatunnel 2.3.3 
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
     #checkpoint.interval = 2000
     #execution.checkpoint.interval = 10000
     #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
   }
   
   source {
     Kafka {
       result_table_name = "kafka_name"
       topic = "victor"
       bootstrap.servers = "127.0.0.1:9092"
       kafka.config = {
         auto.offset.reset = "earliest"
         enable.auto.commit = "true"
         key.deserializer = "com.bigdata.protobuf.Deserializer"
         value.deserializer = "com.bigdata.protobuf.Deserializer"
       }
     }
   }
   
   
   
   sink {
     LocalFile {
       path = "/Users/data"
       source_table_name = "kafka_name"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/kafkasource.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   2023-11-16 15:58:45,485 INFO  
org.apache.kafka.clients.consumer.ConsumerConfig - ConsumerConfig values: 
        key.deserializer = class 
org.apache.kafka.common.serialization.ByteArrayDeserializer
           value.deserializer = class 
org.apache.kafka.common.serialization.ByteArrayDeserializer
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

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

Reply via email to