Skip to content

Commit

Permalink
chore(userconfig): generate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and Serpentiel committed Oct 18, 2023
1 parent 427e0e2 commit 132ad16
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/data-sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ Read-Only:
- `producer_purgatory_purge_interval_requests` (Number)
- `replica_fetch_max_bytes` (Number)
- `replica_fetch_response_max_bytes` (Number)
- `sasl_oauthbearer_expected_audience` (String)
- `sasl_oauthbearer_expected_issuer` (String)
- `sasl_oauthbearer_jwks_endpoint_url` (String)
- `sasl_oauthbearer_sub_claim_name` (String)
- `socket_request_max_bytes` (Number)
- `transaction_remove_expired_transaction_cleanup_interval_ms` (Number)
- `transaction_state_log_segment_bytes` (Number)
Expand Down
4 changes: 4 additions & 0 deletions docs/resources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ Optional:
- `producer_purgatory_purge_interval_requests` (Number) The purge interval (in number of requests) of the producer request purgatory(defaults to 1000).
- `replica_fetch_max_bytes` (Number) The number of bytes of messages to attempt to fetch for each partition (defaults to 1048576). This is not an absolute maximum, if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that progress can be made.
- `replica_fetch_response_max_bytes` (Number) Maximum bytes expected for the entire fetch response (defaults to 10485760). Records are fetched in batches, and if the first record batch in the first non-empty partition of the fetch is larger than this value, the record batch will still be returned to ensure that progress can be made. As such, this is not an absolute maximum.
- `sasl_oauthbearer_expected_audience` (String) The (optional) comma-delimited setting for the broker to use to verify that the JWT was issued for one of the expected audiences.
- `sasl_oauthbearer_expected_issuer` (String) Optional setting for the broker to use to verify that the JWT was created by the expected issuer.
- `sasl_oauthbearer_jwks_endpoint_url` (String) OIDC JWKS endpoint URL. By setting this the SASL SSL OAuth2/OIDC authentication is enabled. See also other options for SASL OAuth2/OIDC. .
- `sasl_oauthbearer_sub_claim_name` (String) Name of the scope from which to extract the subject claim from the JWT. Defaults to sub.
- `socket_request_max_bytes` (Number) The maximum number of bytes in a socket request (defaults to 104857600).
- `transaction_remove_expired_transaction_cleanup_interval_ms` (Number) The interval at which to remove transactions that have expired due to transactional.id.expiration.ms passing (defaults to 3600000 (1 hour)).
- `transaction_state_log_segment_bytes` (Number) The transaction topic segment bytes should be kept relatively small in order to facilitate faster log compaction and cache loads (defaults to 104857600 (100 mebibytes)).
Expand Down
4 changes: 4 additions & 0 deletions internal/schemautil/userconfig/apiconvert/fromapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ func TestFromAPI(t *testing.T) {
"producer_purgatory_purge_interval_requests": 0,
"replica_fetch_max_bytes": 0,
"replica_fetch_response_max_bytes": 0,
"sasl_oauthbearer_expected_audience": "",
"sasl_oauthbearer_expected_issuer": "",
"sasl_oauthbearer_jwks_endpoint_url": "",
"sasl_oauthbearer_sub_claim_name": "",
"socket_request_max_bytes": 0,
"transaction_remove_expired_transaction_cleanup_interval_ms": 0,
"transaction_state_log_segment_bytes": 0,
Expand Down
40 changes: 40 additions & 0 deletions internal/schemautil/userconfig/dist/service_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 132ad16

Please sign in to comment.