a2aproject / a2aproject/a2a-samples

DateTime stamp format issues when using mixed A2A language implementations (python + Java)

Đang mở
#192 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.8k
Fork
751
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### What happened?

When using a python based Agent which is fronted with a Java based orchestrator, there is a conflict with datetime format pattern.
Issues:
When sending a message from the Java orchestrator to the python agent and getting response, the unmarshall of the response throws an error about the datetime format. Java code expects a "yyyy-MM-dd'T'HH:mm:ss.SSSSSS" format while the python back end sent date time in "yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSXX" format.
Workaround:
Changed the python A2A library to send it in the Java expected format.

### Relevant log output

```shell
Failed to send message: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.time.LocalDateTime` from String "2025-07-02T18:43:53.974294+00:00"
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.