You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Confluent.SchemaRegistry/CachedSchemaRegistryClient.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ public CachedSchemaRegistryClient(IEnumerable<KeyValuePair<string, string>> conf
95
95
{
96
96
if(basicAuthInfo=="")
97
97
{
98
-
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource}was set to 'USER_INFO', but no value was specified for {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthUserInfo}.");
98
+
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource} set to 'USER_INFO', but no value specified for {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthUserInfo}.");
99
99
}
100
100
varuserPass=(basicAuthInfo).Split(':');
101
101
if(userPass.Length!=2)
@@ -109,17 +109,17 @@ public CachedSchemaRegistryClient(IEnumerable<KeyValuePair<string, string>> conf
109
109
{
110
110
if(basicAuthInfo!="")
111
111
{
112
-
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource}was set to 'SASL_INHERIT', but {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthUserInfo} as also specified.");
112
+
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource} set to 'SASL_INHERIT', but {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthUserInfo} as also specified.");
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource}was set to 'SASL_INHERIT', but 'sasl.username' property was not specified.");
118
+
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource} set to 'SASL_INHERIT', but 'sasl.username' property not specified.");
119
119
}
120
120
if(saslPassword.Value==null)
121
121
{
122
-
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource}was set to 'SASL_INHERIT', but 'sasl.password' property was not specified.");
122
+
thrownewArgumentException($"CachedSchemaRegistryClient: {SchemaRegistryConfig.PropertyNames.SchemaRegistryBasicAuthCredentialsSource} set to 'SASL_INHERIT', but 'sasl.password' property not specified.");
0 commit comments