public enum OversizedSseStrategy extends java.lang.Enum<OversizedSseStrategy>
| Enum Constant and Description | 
|---|
| DeadLetterSend the oversized message to dead letters, continuing with stream processing. | 
| FailStreamFail the stream with an IllegalStateException when an oversized message is encountered. | 
| LogAndSkipLog a warning and skip the oversized message, continuing with stream processing. | 
| TruncateLog an info message and truncate the oversized message to the configured max-line-size,
 continuing with stream processing. | 
| Modifier and Type | Method and Description | 
|---|---|
| OversizedSseStrategy | asScala()Convert this Java enum to the corresponding Scala enum value. | 
| static OversizedSseStrategy | fromScala(OversizedSseStrategy scalaStrategy)Convert from a Scala enum value to the corresponding Java enum value. | 
| static OversizedSseStrategy | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static OversizedSseStrategy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final OversizedSseStrategy FailStream
public static final OversizedSseStrategy LogAndSkip
public static final OversizedSseStrategy Truncate
public static final OversizedSseStrategy DeadLetter
public static OversizedSseStrategy[] values()
for (OversizedSseStrategy c : OversizedSseStrategy.values()) System.out.println(c);
public static OversizedSseStrategy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic OversizedSseStrategy asScala()
public static OversizedSseStrategy fromScala(OversizedSseStrategy scalaStrategy)