Skip to content

Commit

Permalink
MAINT: allow either plain or plaintext under SASL (#4433)
Browse files Browse the repository at this point in the history
Signed-off-by: George Chen <[email protected]>
  • Loading branch information
chenqi0805 authored Apr 19, 2024
1 parent 2e8ea82 commit 64445fa
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

package org.opensearch.dataprepper.plugins.kafka.configuration;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.Valid;
import jakarta.validation.constraints.AssertTrue;
Expand All @@ -18,6 +19,7 @@
public class AuthConfig {

public static class SaslAuthConfig {
@JsonAlias("plain")
@JsonProperty("plaintext")
private PlainTextAuthConfig plainTextAuthConfig;

Expand Down

0 comments on commit 64445fa

Please sign in to comment.