chararch / gobatch Goto Github PK
View Code? Open in Web Editor NEWGoBatch is a batch processing framework in Go like Spring Batch in Java
License: MIT License
GoBatch is a batch processing framework in Go like Spring Batch in Java
License: MIT License
We have been doing experimental projects with your library. We are more interested in Partitioner and PartitionerFactory. However no documentation is provided for it. Please provide some example for the same.
Translated for you:
我们一直在与您的图书馆进行实验项目。我们对 Partitioner 和 PartitionerFactory 更感兴趣。但是没有为它提供文档。请提供一些相同的例子。
在我们的实践中,batch 只是负责调度,具体的实现都是在业务服务中实现的,一般的流程是
通过 GET read API 读取一页数据,返回
{
"data":[],
"has_next_page":true,
"next_cursor":"xxx"
}
通过 has_next_page 判断是否还有下一页,用 next_cursor 读下一页数据
将 data 中的每一个 item 作为 body,POST process API
将一页所有 tems 的 process 结果作为 body,POST write API
看能否内置这样一种处理机制。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.