Update docs

This commit is contained in:
Mahmoud Ben Hassine
2019-10-25 17:12:23 +02:00
parent 1622a742b1
commit 3466f32fba
7 changed files with 13 additions and 49 deletions

View File

@@ -1,3 +1,3 @@
= Spring Batch - Reference Documentation
:batch-asciidoc: https://docs.spring.io/spring-batch/reference/html/
:batch-asciidoc: https://docs.spring.io/spring-batch/docs/current/reference/html/

View File

@@ -1612,7 +1612,7 @@ If you set the table prefix on the job repository, don't forget to set it on the
Most of the methods on `JobOperator` are
self-explanatory, and more detailed explanations can be found on the
link:$$https://docs.spring.io/spring-batch/apidocs/org/springframework/batch/core/launch/JobOperator.html$$[javadoc of the interface]. However, the
link:$$https://docs.spring.io/spring-batch/docs/current/api/org/springframework/batch/core/launch/JobOperator.html$$[javadoc of the interface]. However, the
`startNextInstance` method is worth noting. This
method will always start a new instance of a Job.
This can be extremely useful if there are serious issues in a

View File

@@ -936,7 +936,7 @@ configured `SimpleChunkProcessor`, which is where you would provide a reference
when it receives chunks from the manager.
For more information, see the section of the "Scalability" chapter on
link:$$https://docs.spring.io/spring-batch/reference/html/scalability.html#remoteChunking$$[Remote Chunking].
link:$$https://docs.spring.io/spring-batch/docs/current/reference/html/scalability.html#remoteChunking$$[Remote Chunking].
Starting from version 4.1, Spring Batch Integration introduces the `@EnableBatchIntegration`
annotation that can be used to simplify a remote chunking setup. This annotation provides

View File

@@ -394,4 +394,4 @@ public void testAfterStep() {
The preceding method for creating a simple
`StepExecution` is just one convenience method
available within the factory. A full method listing can be found in its
link:$$https://docs.spring.io/spring-batch/apidocs/org/springframework/batch/test/MetaDataInstanceFactory.html$$[Javadoc].
link:$$https://docs.spring.io/spring-batch/docs/current/api/org/springframework/batch/test/MetaDataInstanceFactory.html$$[Javadoc].

View File

@@ -4,44 +4,6 @@
[[whatsNew]]
== What's New in Spring Batch 4.2
== What's New in Spring Batch 4.3
Spring Batch 4.2 adds the following features:
* Support for batch metrics with https://micrometer.io[Micrometer]
* Support for reading/writing data from/to https://kafka.apache.org[Apache Kafka] topics
* Support for reading/writing data from/to https://avro.apache.org[Apache Avro] resources
* Improved documentation
[[whatsNewMetrics]]
=== Batch metrics with Micrometer
This release introduces a new feature that lets you monitor your batch jobs
by using Micrometer. By default, Spring Batch collects metrics (such as job duration,
step duration, item read and write throughput, and others) and registers them in Micrometer's
global metrics registry under the `spring.batch` prefix.
These metrics can be sent to any https://micrometer.io/docs/concepts#_supported_monitoring_systems[monitoring system]
supported by Micrometer.
For more details about this feature, please refer to the
<<monitoring-and-metrics.adoc#monitoring-and-metrics,Monitoring and metrics>> chapter.
[[whatsNewKafka]]
=== Apache Kafka item reader/writer
This release adds a new `KafkaItemReader` and `KafkaItemWriter` to read data from and
write it to Kafka topics. For more details about these new components, please refer
to the https://docs.spring.io/spring-batch/4.2.x/api/index.html[Javadoc].
[[whatsNewAvro]]
=== Apache Avro item reader/writer
This release adds a new `AvroItemReader` and `AvroItemWriter` to read data from and
write it to Avro resources. For more details about these new components, please refer
to the https://docs.spring.io/spring-batch/4.2.x/api/index.html[Javadoc].
[[whatsNewDocs]]
=== Documentation updates
The reference documentation has been updated to match the same style as other
Spring projects.
TDB