Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validation unknown properties #242

Merged
merged 5 commits into from Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -29,3 +29,8 @@ hs_err_pid*
.vscode/

.DS_Store

# Auto generated doc
documentation/html/**
documentation/htmlnoheader/**
documentation/book/build/**
2 changes: 1 addition & 1 deletion .travis/check_docs.sh
Expand Up @@ -59,7 +59,7 @@ if [ -n "$CHANGED_DERIVED" ] ; then
echo "ERROR: Uncommitted changes in documentation:"
echo "$CHANGED_DERIVED"
echo "Run the following to add up-to-date resources:"
echo " make docu_versions \\"
echo " mvn generate-sources \\"
echo " && git add documentation/book/ \\"
echo " && git commit -m 'Update generated documentation'"
exit 1
Expand Down
12 changes: 7 additions & 5 deletions documentation/book/api/definitions.adoc
Expand Up @@ -8,14 +8,14 @@
[options="header", cols=".^3,.^11,.^4"]
|===
|Name|Description|Schema
|**auto.commit.enable** +
__optional__|If set to `true`, message offsets are committed automatically for the consumer. If set to `false`, message offsets must be committed manually.|string
|**auto.offset.reset** +
__optional__|Resets the offset position for the consumer.
If set to `earliest`, messages are read from the first offset.
If set to `latest`, messages are read from the latest offset.|string
|**consumer.request.timeout.ms** +
__optional__|Sets the maximum amount of time, in milliseconds, for the consumer to wait for messages for a request. If the timeout period is reached without a response, an error is returned.|string
|**enable.auto.commit** +
__optional__|If set to `true`, message offsets are committed automatically for the consumer. If set to `false`, message offsets must be committed manually.|string
|**fetch.min.bytes** +
__optional__|Sets the minimum ammount of data, in bytes, for the consumer to receive. The broker waits until the data to send exceeds this amount.|string
|**format** +
Expand Down Expand Up @@ -187,11 +187,13 @@ __optional__|< <<_producerrecordtopartition,ProducerRecordToPartition>> > array
[[_topics]]
=== Topics

[options="header", cols=".^3,.^4"]
[options="header", cols=".^3,.^11,.^4"]
|===
|Name|Schema
|Name|Description|Schema
|**topic_pattern** +
__optional__|A regex topic pattern for matching multiple topics|string
|**topics** +
__optional__|< string > array
__optional__||< string > array
|===


Expand Down
4 changes: 2 additions & 2 deletions documentation/book/api/paths.adoc
Expand Up @@ -56,7 +56,7 @@ __required__|Name and configuration of the consumer. The name is unique within t
"name" : "consumer1",
"format" : "binary",
"auto.offset.reset" : "earliest",
"auto.commit.enable" : "false",
"enable.auto.commit" : "false",
"fetch.min.bytes" : "512",
"consumer.request.timeout.ms" : "30000"
}
Expand Down Expand Up @@ -941,7 +941,7 @@ Sends one or more records to a given topic partition, optionally specifying a ke
|===
|Type|Name|Description|Schema
|**Path**|**partitionid** +
__required__|ID of the partition to which you want to send records.|string
__required__|ID of the partition to which you want to send records.|integer
|**Path**|**topicname** +
__required__|Name of the topic containing the partition to which you want to send records.|string
|**Body**|**body** +
Expand Down
3,001 changes: 0 additions & 3,001 deletions documentation/html/index.html

This file was deleted.