a2aproject / a2aproject/a2a-samples

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

オープン
#192 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
1.8k
フォーク
751
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。