set Credentials
Sets the credentials, providing authentication information required for connecting to the streaming platform.
Parameters
credentials
The credentials.
Throws
An exception thrown in the case of encountering issues during execution of the method.