sasl.oauthbearer.assertion.claim.exp.seconds — Kafka Broker Configuration
The number of seconds in the future for which the JWT is valid. The value is used to determine the JWT exp (Expiration) claim based on the current system time when the JWT is created.The formula to generate the exp claim is very simple:Let: x = the current timestamp in seconds, on client y = the value of this configurationThen: exp = x + yNote: If a value for sasl.oauthbearer.assertion.file is provided, this configuration will be ignored.
Description
The number of seconds in the future for which the JWT is valid. The value is used to determine the JWT exp (Expiration) claim based on the current system time when the JWT is created.The formula to generate the exp claim is very simple:Let: x = the current timestamp in seconds, on client y = the value of this configurationThen: exp = x + yNote: If a value for sasl.oauthbearer.assertion.file is provided, this configuration will be ignored.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 4.1 | 300 |
| Broker | 4.2 | 300 |
| Broker | 4.3 | 300 |
| Broker | 4.4 | 300 |
| Consumer | 4.1 | 300 |
| Consumer | 4.2 | 300 |
| Consumer | 4.3 | 300 |
| Consumer | 4.4 | 300 |
| Producer | 4.1 | 300 |
| Producer | 4.2 | 300 |
| Producer | 4.3 | 300 |
| Producer | 4.4 | 300 |
| Connect Worker | 4.1 | 300 |
| Connect Worker | 4.2 | 300 |
| Connect Worker | 4.3 | 300 |
| Connect Worker | 4.4 | 300 |