File tree Expand file tree Collapse file tree
google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/spi/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 * <li>Retries: such as the maximum duration of retries for a failing batch of messages.
7171 * </ul>
7272 *
73- * <p>If no credentials are provided, the {@link Publisher} will use application default credentials
74- * through {@link GoogleCredentials#getApplicationDefault}.
73+ * <p>{@link Publisher} will use the credentials set on the channel, which uses
74+ * application default credentials through {@link GoogleCredentials#getApplicationDefault}
75+ * by default.
7576 */
7677public class Publisher {
7778 private static final Logger logger = Logger .getLogger (Publisher .class .getName ());
Original file line number Diff line number Diff line change 7171 * in memory before the receiver either ack or nack them.
7272 * </ul>
7373 *
74- * <p>If no credentials are provided, the {@link Subscriber} will use application default
75- * credentials through {@link GoogleCredentials#getApplicationDefault}.
74+ * <p>{@link Subscriber} will use the credentials set on the channel, which uses
75+ * application default credentials through {@link GoogleCredentials#getApplicationDefault}
76+ * by default.
7677 */
7778public class Subscriber extends AbstractApiService {
7879 private static final int THREADS_PER_CHANNEL = 5 ;
You can’t perform that action at this time.
0 commit comments