Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@
* <li>Retries: such as the maximum duration of retries for a failing batch of messages.
* </ul>
*
* <p>If no credentials are provided, the {@link Publisher} will use application default credentials
* through {@link GoogleCredentials#getApplicationDefault}.
* <p>{@link Publisher} will use the credentials set on the channel, which uses
* application default credentials through {@link GoogleCredentials#getApplicationDefault}
* by default.
*/
public class Publisher {
private static final Logger logger = Logger.getLogger(Publisher.class.getName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@
* in memory before the receiver either ack or nack them.
* </ul>
*
* <p>If no credentials are provided, the {@link Subscriber} will use application default
* credentials through {@link GoogleCredentials#getApplicationDefault}.
* <p>{@link Subscriber} will use the credentials set on the channel, which uses
* application default credentials through {@link GoogleCredentials#getApplicationDefault}
* by default.
*/
public class Subscriber extends AbstractApiService {
private static final int THREADS_PER_CHANNEL = 5;
Expand Down