@PublicApi public class MessageRunnerConstants extends Object
| Constructor and Description |
|---|
MessageRunnerConstants() |
| Modifier and Type | Method and Description |
|---|---|
static int |
payloadMaxSize()
Note that this is deliberately not exposed as a system property.
|
public static int payloadMaxSize()
Note that this is deliberately not exposed as a system property. It is determined by the max size of something that will fit in an SQS message, minus a defensible approximation how a java string is encoded to sent to SQS.
This could change when SQS increases its capacity, or when we decide that the we can squeeze more out of encoding. Either of those events are rare enough that having this declared in-code is acceptable.
Copyright © 2017 Atlassian. All rights reserved.