Closed kianmeng closed 2 years ago
Hi @kianmeng, thanks for the PR! It is my understanding that messages will always have a non-nil publishTime value. Did you experience different behaviour?
@mcrumm The missing test case was due to this particular function, https://github.com/dashbitco/broadway_cloud_pub_sub/blob/main/lib/broadway_cloud_pub_sub/pull_client.ex#L130
defp parse_datetime(nil), do: nil
Got it, thanks! :)
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: