Q&A :: General Questions

Questions and answers based on problems encountered during implementation.

When I pull down messages, they have an publishTime associated with them. What time zone is this field in?

The publishTime is the Timestamp associated with the message when the message was published, in UTC Zulu time format - detailed to nanoseconds. - GENERATED BY THE API (UTC+2 at devel infrastructure)

if there aren’t enough messages to supply the requested max_messages number, the request eventually returns however many messages are present. Is there a way to configure this timeout, in the post body for example?

The current timeout is set to 5mins. But the user - client cannot change it. You can optionally set the returnImmediately field to true to prevent the subscriber from waiting if the queue is currently empty.