Repository navigation
Releases
6.3.0
Addax 6.3.0
Addax 6.3.0 is a minor release: it overhauls how transformers are loaded, validated and parameterised, removes the built-in date variables from addax.sh, fixes a permanent hang when the channel capacity is smaller than the exchange batch, restores the native transformers that a regression had broken, makes the reported write counters agree with the read ones, keeps DECIMAL fractions and DATETIME text through SQLite round trips and preserves the time-of-day of a DATETIME written to an ORC string column — plus 36 dependency updates. The end-to-end suite was trimmed to the core database and file cases (20 cases) and a reproducible performance baseline harness was added.
The version is 6.3.0 rather than 6.2.1 on purpose: this release contains a new feature and a backward-incompatible change, which is a minor bump under the versioning scheme.
⚠️ Breaking changes
1. addax.sh no longer computes date variables (#1715)
The launch script used to inject ten system properties — curr_date_short, curr_date_dash, curr_datetime_short, curr_datetime_dash, biz_date_short, biz_date_dash, biz_datetime_short, biz_datetime_dash, biz_datetime_0_short and biz_datetime_0_dash. The biz_* family was hard-coded to the previous calendar day, which is wrong on weekends, holidays, T+0 runs and historical fillback, and because the injected -D arguments came after the user's -p values they could not be overridden.
The computation block and the injection are gone. Date variables are now the caller's responsibility: addax-admin fills them per task business date, and a direct addax.sh run must pass them explicitly.
- Migration: pass every variable the job references with
-p, for example-p "-Dbiz_date_short=20260101"(one-Dper variable, in the same-pstring). Unresolved placeholders are left verbatim, so a job that still references${biz_date_short}will put the literal text into SQL or paths after the upgrade — check every job that uses${curr_*}or${biz_*}before upgrading. AGENTS.mdandSKILL.mdnow state the new contract.
✨ Features
1. Transformer loading, validation and parameter handling (#1688)
The transformer module treated configuration mistakes as per-record failures: a transformer with a missing or malformed parameter turned every row into a dirty record instead of failing the job, the user-transformer loader resolved transformer.json against the working directory, dx_null_to_default never received its parameters, dx_pad could hang forever on an empty padding string, and every built-in re-parsed its positional parameters on each record.
- Named parameters. The five built-in transformers accept a named form:
dx_substr(idx,pos,length),dx_pad(idx,flag,length,chr),dx_replace(idx,pos,length,str),dx_filter(idx,operator,expr) anddx_map(idx,operator,value). For example{"name": "dx_pad", "parameter": {"idx": 0, "flag": "l", "length": 8, "chr": "*"}}. The oldcolumnIndex+parasform keeps working but logs a deprecation warning once per transformer name; mixing both forms in one transformer fails at startup. - Startup validation. Parameters are parsed and validated once per execution instead of once per record. A missing, unknown or contradictory parameter fails the job before any task starts, with the transformer name and the expected form, instead of producing dirty records for the whole run.
- Compiled once. Groovy code and regular expressions are compiled at job start.
dx_groovycan be invoked once only, which was documented before and is now enforced. - User transformers.
transformer.jsonis no longer resolved against the working directory: the registry loads the transformer directories the job references, validates the class (public, non-abstract, public no-arg constructor) once, and reports the transformer name and path instead of silently skipping it. The thread context classloader is restored correctly around the load. dx_null_to_defaultnow receives its parameters and requiresparameter.column;dx_padno longer hangs on an empty padding string.- Records filtered by a transformer are counted separately from dirty records, so the reported numbers no longer mix the two.
- New runnable examples:
transformer_named_demo.jsonandtransformer_legacy_demo.json;transformer_demo.json,transformer_groovy.jsonandtransformer_null_to_default.jsonwere refreshed.
🐛 Fixes
Data correctness
sqlite(#1706): the JDBC driver types a column from the storage class of the row it is positioned on, so a DECIMAL/NUMERIC fraction was truncated when a PK split started on an integral value, and driver 3.54.1.0 also maps DATETIME toTypes.TIMESTAMP, which would have written TEXT values as INTEGER epoch milliseconds. The reader now types DECIMAL/NUMERIC from the declared column type and the writer binds DECIMAL/NUMERIC throughsetBigDecimaland writesTypes.TIMESTAMPas TEXT with milliseconds, so fractional values and DATETIME text survive round trips. The reader also defaults username/password, so a job copied from the plugin template starts instead of failing before the first row.hdfswriter,s3writer(#1707): ORC string targets rendered every non-TIME date column asyyyy-MM-dd, silently truncating a DATETIME (for example a BSON date frommongodbreader) to a date-only string. DATE/DATETIME now render through the common column formatters (common.column.dateFormat/datetimeFormat/timeZone), matching the text and parquet writers; DATE stays date-only and TIME keeps its nanos-aware path. Consumers of such ORC files now see the time-of-day.core(#1673): the write side counted every record it drained from the channel, terminate marker included, so a task reported one more written record than the reader produced — a 4-task job that moved 400 rows reportedwriteReceivedRecords=404.writeSucceedRecordsnow equalsreadSucceedRecordsfor a job that wrote everything it read, and the three channel waits restore the thread's interrupt status and report the sameAddaxExceptiontype instead of dropping it or throwing a bareIllegalStateException.core(#1664): native transformersdx_substr,dx_replace,dx_mapanddx_filterwere broken by a regression — they demanded Groovy code and theircolumnIndex/paraswere silently dropped, so even the bundledtransformer_demo.jsoncould not run. The pre-regression semantics are restored: only the Groovy functions consumecode/codeFile, every other transformer requirescolumnIndexand takes optionalparas, and a missingcolumnIndexfails with a clear message.plugin-paimonwriter(#1679): any warehouse reached through Hadoop failed withNoClassDefFoundError: com/google/protobuf/ServiceExceptionraised from theaddBlockpath, because Paimon excludes protobuf from its Hadoop dependencies and the assembled plugin carried none.protobuf-java(3.25.5) is now bundled the wayhdfswriter,hdfsreader,icebergwriterands3writeralready do; file:// warehouses were the only working case before.
Reliability
core(#1668): withcore.transport.channel.capacitysmaller than the exchange batch (default 32),MemoryChannelwaited for a whole batch to fit and never enqueued anything, so the reader blocked forever and the job sat at "Total 0 records" with no error. Batches are now enqueued record by record, waiting per record for room in the queue and the byte budget, and the consumer is signalled after every record instead of on the 200 ms poll timeout. A single record larger than the byte budget fails withOVER_LIMIT_ERRORinstead of waiting forever, andclear()resets the byte accounting together with the queue.core(#1670): a fail-over retry could start while the previous attempt was still writing (duplicate rows), and the wait degraded to an unboundedjoin(0)whenever the retry budget was exactly exhausted. Each attempt now runs on its own two-worker executor, and its termination is the only "attempt is over" signal, so the previous attempt is dead before a retry starts; the next task is dispatched immediately instead of on a 100 ms tick.core(#1667): plugin entry classes are resolved and validated at job start — the class must exist, extendReader.Job/Reader.TaskorWriter.Job/Writer.Task, be public, non-abstract, static when nested and declare a public no-arg constructor. A broken plugin now fails before any task starts, with the plugin name, theplugin.jsonpath and the attempted class name, instead of failing mid-run with a raw stack dump.core(#1665):job.contentis normalized from the legacy array form to a dict at parse time; a multi-element array logs a warning and the first element wins, an empty array fails fast, and the post-split task list moved to an internal key.- Internal cleanups with no intended behavior change: the task state machine now lives in an immutable
TaskState(#1672), the dead single-record channel API andRecordExchangerare gone (#1669), framework keys are read through typedJobConfig/TaskConfigviews (#1666), and the unused abstractions from the never-implemented distributed mode were removed (#1663).
Scripts, packaging and CI
install_plugins.sh(#1695): validates plugin names and versions, installs intolibs/with staged atomic replacement and backups, restores required transitive dependencies, verifies metadata and the bootstrapped Maven archive, and addsforce, locking, summaries, strict release checksums and interactive Maven output. Existinglib/installs are reinstalled underlibs/. The same commit renames the Elasticsearch writer's template resource so template-based job generation findsplugin_job_template.json.- Distribution (#1719):
dorisreaderwa...
6.2.0
Addax 6.2.0
Addax 6.2.0 is a stabilization release: 38 fixes, features and refactors across the engine, the shared libraries, the plugins and the shipped scripts since 6.1.0, several of them closing paths that corrupted, dropped or silently truncated data, plus 23 dependency updates and a larger end-to-end suite (27 cases, up from 18). It also adds four capabilities — the server now runs every job in its own process, DuckDB gains a reader and a writer, the HTTP reader prefetches pages and the Elasticsearch writer keeps several bulk requests in flight. Nine changes are backward-incompatible, reaching the server API, both FTP plugins, the Excel reader, the HTTP reader, both InfluxDB 2 plugins, the Paimon writer and the Elasticsearch writer (which now requires Elasticsearch 7.0 or later) — read the migration notes before upgrading.
The version is 6.2.0 rather than 6.1.1 on purpose: this release contains new features and backward-incompatible changes, which is a minor bump under the versioning scheme.
⚠️ Breaking changes
1. The server runs every job in its own process
A review of the server module found that jobs ran inside the server JVM, where the engine keeps per-job state process-wide: jobs could see each other's settings (request parameters were written into the system properties), could not be cancelled, and took the server down with them when they crashed. A failed task reported only java.lang.reflect.InvocationTargetException; a malformed job was accepted and failed asynchronously; the finished-task table grew without a bound.
Every job now runs the way the command line tool runs one — a JVM of its own, its parameters as -D properties, its own log file, the process killed when the server stops. A failed task answers with the error line of its own log plus the exit code and the log file name, a malformed job is rejected with 400 before a task is created, and a task can end as CANCELLED via the new POST /api/cancel. New options: --task-timeout, --max-tasks (bounds the finished-task table), --bind, ADDAX_SERVER_PARALLEL; YAML jobs are accepted; request bodies above 8 MiB are refused; unknown methods answer 405 with an Allow header.
- Migration: clients must handle
400on submit and theCANCELLEDstatus. Query parameters are-Dproperties of the job again (?jobName=feeds the report payload as documented). Each job costs a JVM start of about 1-2 seconds.
2. The FTP writer was reworked (#1651)
The plugin had defects that broke SFTP writes and could lose data on FTP: mkDirRecursive ran mkdir twice per missing directory level, so the second call failed with SSH_FX_FAILURE and SFTP could only write into directories that already existed completely; getOutputStream appended instead of truncating, so a re-run doubled the rows and compressed output concatenated two archives into one file; a store never read its completion reply, so a transfer the server rejected went unnoticed; the data timeout was built with Duration.ofSeconds on a millisecond value; append mode did not keep file names unique; useKey=false still authenticated with the private key; connectPattern was documented but ignored.
- Migration: append mode re-runs now write a new file beside the previous one instead of appending into it — use the
truncatemode when a fixed file name is required. A job that relied on the private key whileuseKeywas false must setuseKeyto true. Compressed output with codecs other than zip, gzip and bzip2 now carries the codec's extension. - SFTP writes create missing target directories, failed uploads fail the task instead of reporting success, and
connectPattern(PORT and PASV) is honoured.
3. The FTP reader sets up the control connection before it is opened
commons-net builds the control reader and writer while connecting, from the control encoding set at that moment, so the encoding assigned after login() never reached them: commands stayed on ISO-8859-1 and every non-ASCII path went out as ?. The configured timeout was applied after connect() too and never bounded the control connection. The control encoding is now UTF-8 and the timeouts are set before connecting.
- Migration: paths and file names outside ASCII now work against UTF-8 servers for every command, listing and retrieval alike. A server that speaks another encoding on the wire needs a control encoding option that does not exist yet.
4. Excel: a blank cell is now a null
The Excel reader lost columns: a row with a cell left out in the middle shifted every following value one place to the left, silently corrupting the data. It also could not read large workbooks at all (WorkbookFactory was handed a stream POI cannot seek in; a 500k row workbook failed, and holding a sheet as XMLBeans objects cost 3.2GB of live heap for a 20MB file).
- Migration: a cell without a value is now a null instead of an empty string, and a formula without a stored result reads as null instead of being evaluated. A job that relied on empty strings for blank cells can map them back with the
nullToDefaulttransformer; a workbook whose formulas were never calculated only needs to be opened and saved by Excel once, which stores the results the reader now reads. - xlsx is read with the event model: 500k rows by 8 columns in 3.6s with 841MB peak RSS. Every record is padded to the widest row with nulls, so columns stay aligned. New options
trim,sheetIndexandsheetName; a workbook with several sheets logs which one was read; a file that is no workbook is skipped with a warning instead of failing the whole job.
5. The HTTP reader no longer damages or drops data, and prefetches pages
A wildcard column list took the keys of the first record only, so every later record lost the fields it happened to add; request parameters were stringified ("NUM": 5 was sent as "5"); URL parameters were not percent-encoded and a query string configured in the URL was dropped for POST; a timeout, an empty body or a 3xx were read as "0 records" and the job reported success; an endpoint that ignores the paging parameters made the reader loop without a bound (75,000 requests in 12 seconds); the client-level Authenticator answered server 401 challenges with the proxy credentials.
- Migration: with
column: ["*"]the records of a page may now hold more columns than before (the union of the keys of every page); a writer with a fixed schema needs an explicit column list, or a response whose records all share the same keys. - A wrong
resultKey, a3xxor an empty body now fail the job. New options:maxPages(bounds the paging, with a duplicate-page check),sslVerify(turns the certificate and hostname check on), andprefetchPages— with the default single page in flight the round trip of the next page is spent while the current one is parsed and written (8.5s to 6.5s for a 21-page read against a 300ms endpoint with a writer that needs 100ms per page),prefetchPages=4brings the same read to 2.3s.
6. The InfluxDB 2 writer fails on a write error
Points were handed to the async WriteApi and the result was never looked at, so a rejected write only reached the log while the job reported "Total N records, Error 0" and exited 0 — a wrong token (401), a missing bucket (404), points the retention policy drops (422) and a server that refused every attempt (503, which stored 0 of 20000 points) all looked like success. The timestamp conversion kept only the sub-second part of a microsecond or nanosecond timestamp, collapsing every point of a second onto 1970-01-01T00:00:00Z; a null boolean aborted the job with an NPE; a numeric tag value threw ClassCastException.
- Migration: a record whose column count differs from
column + 1now fails the job instead of writing a subset of the fields; a date or timestamp column outside the first one is written as an RFC3339 string instead of the local rendering; a failed write is no longer retried by the client, so the job has to be run again (a point write is idempotent, so a rerun is safe). - The writer now writes through
WriteApiBlocking(a failure fails the job and names the bucket and the number of points), batches bybatchSize, turns on gzip (a 1000-point body shrinks 7.5x) and splits into one task per reader slice instead of failing whenchannelis above 1. The precision matrix (s, ms, us, ns) lands every record at the time it belongs to and keeps the microsecond part exactly. NewtagColumnsitem writes the value of a named column as a tag, so a reader-to-writer round trip keeps the tags of the source. Verified against InfluxDB 2.8: 29 end-to-end jobs and 4 wire-level checks.
7. The InfluxDB 2 reader resolves columns from the index and streams the rows
Reading more than one measurement never worked (the generated flux query did not compile), the field probe described the first table only (the fields of a second measurement were dropped silently), an empty column probe left raw column strings in the slice config and killed the task with ClassCastException, and values were cast to the type recorded at probe time (a field that is long in one measurement and double in another threw).
- Migration: a downstream writer now receives
_timeas a timestamp and a boolean field as boolean, both were strings before. A consumer that needs the previous representation has to format the value itself, for example with a groovy transformer. - Columns are resolved from the Influx index inside the task and validated against the union over all requested measurements; an unknown measurement or column is reported by name; a time range without data finishes with 0 records instead of failing. Reads are streamed: on a 200,000 row read (InfluxDB 2.8,
-Xmx256m) the wall clock drops from 7.76s to 4.04s and the peak RSS from 944MB to about 628MB....
6.1.0
Addax 6.1.0
Addax 6.1.0 is a correction release: 32 engine / shared-library / plugin defects fixed since 6.0.13, several of them closing paths that corrupted or dropped data silently, plus a new end-to-end test suite. It also removes the datareader plugin and changes how binary and bit columns are read and written — read the migration notes before upgrading.
The version is 6.1.0 rather than 6.0.14 on purpose: this release contains a new feature and three backward-incompatible changes, which is a minor bump under the versioning scheme.
⚠️ Breaking changes
1. datareader is removed — use streamreader (#1556)
datareader was a copy of streamreader that re-implemented the column model to layer its own data rules on top, and the two copies had drifted apart. The rule item is now the canonical way to configure a column, and the 16 built-in rules of datareader (address, bank, company, creditCard, debitCard, email, idCard, job, lat, lng, name, phone, stockAccount, stockCode, uuid, zipCode) are implemented as generators behind a new Generated rule, so {"rule": "random", "value": "1,10", "type": "long"} and {"random": "1,10"} describe the same column.
- Migration: rename
"name": "datareader"to"name": "streamreader"in the job. The column configuration needs no change. - A column that mixes a
rulewith the legacyrandom/incritems now ignores those items with a warning, and atypethat contradicts the rule fails the job at startup. - A date format that uses the 12-hour field
hhwithout an AM/PM marker now fails at startup instead of silently generating midnight — useHH. - Datareader defects fixed on the way: the reversed range that made
zipCodethrow on every record, theidCardgender digit (always female, written to the 15th instead of the 17th position), the date increment unit truncated to its first character ("month"incremented minutes), and the NPE of anincrrule without atype.
2. Binary columns are base64 in text output, and oversized records now fail (#1568)
- Text output (
txtfilewriter,hdfswriterdelimited and SQL paths) renders a BINARY/BYTES column as base64. It used to decode it as UTF-8, so a 100KB payload came out with 51,200 U+FFFD, and its embedded0x0Abytes split one record into 404 physical lines. Consumers of those files must base64-decode such columns now. - A record larger than
core.transport.channel.byteCapacity(64MB by default, held per queued record) used to be dropped by both exchangers while the job still reported success. It now raisesOVER_LIMIT_ERROR, naming the record size, the limit and the option that raises it — raisecore.transport.channel.byteCapacityif the job legitimately carries records that large. - Dirty-record logging no longer scales with the size of a binary value: a dropped 9.2MB BLOB produced a 33,624,344-character log line, now 239 characters.
3. bit columns are handled consistently in every reader and writer (#1591)
bit(1)stays a boolean andbit varyingstays a string;bit(n>1)round-trips exactly at any width up tobit(64).- Reading a PostgreSQL
bit(n>1)column now yields packed bytes instead of the ASCII text of the bit string. A job that fed that column to a text sink sees the packed value; select it asvarcharorintinquerySqlto keep the previous rendering. - Fixed the MySQL writer parsing packed bytes as a base-2 literal (silently turning 48 into 0, and aborting the task with
NumberFormatExceptionbelow that) and the PostgreSQL writer re-encoding 8 bits per byte (so abit(3)copy never fitted its own column).
🐛 Fixes
Data correctness
- SQL exports write a real
NULLfor null values instead of the quoted literal'null'(#1518). fileFormat=sqlexports with at leastbatchSize(default 2048) rows no longer truncate the batch — every row is emitted (#1517).hdfsreadersequence-file rows keep empty fields, mapping to the same columns asfileType=text(#1521).hdfswriter: pre-1970 timestamps no longer write a negative nanos-of-day into INT96, DATE lands on the correct calendar day east of UTC and agrees between ORC and parquet, two ARRAY columns of different element types no longer die withClassCastException, and TIME matches every other rendering of the same value (#1533).hdfswriterwrites LZ4 parquet files asLZ4_RAW(#1538). Readers built on parquet-mr older than 1.12 — Hive 3.1.x, for instance — cannot decode codec 7, so jobs feeding such consumers need another codec.- TIME/TIMESTAMP(6) keep sub-second precision on both TIME and TIMESTAMP targets (#1509).
- Strings out of range for a BIGINT target are rejected instead of silently wrapped (#1508).
oraclewriterbinds LOBs directly ininsertmode instead of spending a round trip per value through a temporary LOB, and only falls back above the MERGE template limit (#1565, #1567).clickhousewriterkeeps its synchronous insert semantics with clickhouse-jdbc 0.10 (#1585).
Splitting and query building (lib-rdbms)
- A user
whereclause is parenthesized in split queries (#1499); NULL split keys are counted in the same min/max scan (#1500); string split keys are escaped when building range SQL (#1501); split-point arithmetic is overflow-safe (#1502). - The auto primary-key probe SQL is repaired for Sybase and ClickHouse (#1503); TDengine is detected from driver metadata rather than class-name equality (#1511).
Stability and performance
- Connection pools get sane defaults, a borrow timeout and socket/query timeouts; an exhausted pool now fails with a clear timeout error instead of hanging (#1510).
- Connections are returned to the pool after wildcard column expansion (#1512).
doriswriterreuses pooled connections and fixes the flush lifecycle: one unhealthy load host no longer fails the task, and a hung connection times out.batchSizekeeps its meaning and 2048 default (#1552).- Core: fail-fast scheduling, corrected channel wait metrics and job lifecycle repairs (#1496); lock-free statistics, cached record constructors and precompiled regexes (#1497); JDK 17 modernization (#1498).
lib-storage: compress modes are validated at writer startup (#1529, #1530), gzip/bz2 aliases are accepted on read with locale-safe name folding (#1520), an immutable date formatter replacesSimpleDateFormat(#1524), and sequence-file column configuration is parsed once per file rather than per record (#1526).hdfsreaderdelegates its configuration validation to the shared storage utilities (#1527), andhdfswriterresolves its column plan once per task (#1535).
Scripts and packaging
install.shreads prompts from the terminal, socurl -fsSL … | bashworks (#1554); deploys create missing remote directories (#1553);build-module.shbase paths and CLI options are repaired.
🧪 Testing
A new end-to-end suite (e2e/) assembles the real distribution, starts throwaway MySQL and PostgreSQL instances and asserts the result of every job under e2e/cases/ — 18 cases covering RDBMS round trips, upserts, text/CSV, HDFS text/parquet/ORC, datetime and timezone handling, and bit columns in both directions.
⚠️ Known issues
txtfilewriterwithwriteMode=appendfails when the target file already exists:prepare()keeps the existing files, andTask.startWrite()then requirescreateNewFile()to succeed — which returns false exactly in that case. This is a pre-existing defect, present in 6.0.13 as well; the E2E case110_mysql2txt_appendasserts it and reportsXFAIL. The fix is planned for 6.1.1.
📦 Dependencies
39 dependency updates, including clickhouse-jdbc 0.9.8 → 0.10.0, kudu-client 1.16.0 → 1.18.1, ngdbc 2.24.8 → 2.28.8, jackson 2.20.1 → 2.22.2, fastjson2 2.0.60 → 2.0.65, commons-io 2.19.0 → 2.22.0, netty 4.2.18, and a move to the maintained io.github.spannm fork of ucanaccess.
⬆️ Upgrading
- Distribution:
addax-6.1.0.tar.gzandaddax-6.1.0.tar.gz.sha256sum.asc— check the checksum before unpacking. - Docker:
wgzhao/addax:6.1.0(Docker Hub) andquay.io/wgzhao/addax:6.1.0. - Maven Central:
com.wgzhao.addax:addax-core:6.1.0. - Check first if your jobs use
datareader, send binary columns to a text sink, read PostgreSQLbit(n>1)columns, or carry records above 64MB. - Plugin documentation: https://github.com/wgzhao/addax-docs
Addax 6.1.0(中文版)
Addax 6.1.0 是一个修复版本:自 6.0.13 以来修掉了 32 个引擎 / 公共库 / 插件缺陷,其中多个是静默写坏或丢弃数据的问题,同时新增了端到端测试套件。本版本还删除了 datareader 插件,并改变了 binary 列与 bit 列的读写方式,升级前请先看下面的迁移说明。
版本号定为 6.1.0 而不是 6.0.14 是有意的:本版本包含新特性与三处不兼容变更,按版本命名规范应走小版本号。
⚠️ 破坏性变更
1. datareader 插件已删除,改用 streamreader (#1556)
datareader 是 streamreader 的副本,它重新实现了一套列模型来叠加自己的数据规则,两个副本已经各自漂移。现在列配置以 rule 项为准,datareader 的 16 条内置规则(address、bank、company、creditCard、debitCard、email、idCard、job、lat、lng、name、phone、stockAccount、stockCode、uuid、zipCode)通过新的 Generated 规则实现,因此 {"rule": "random", "value": "1,10", "type": "long"} 与 {"random": "1,10"} 描述的是同一个列。
- 迁移方式: 把作业里的
"name": "datareader"改成"name": "streamreader",列配置无需改动。 - 同一列里混用
rule和旧的random/incr项时,旧项会被忽略并给出警告;与 rule 冲突的type会在启动时直接失败。 - 日期格式使用 12 小时制
hh且没有 AM/PM 标记时,现在启动即失败(以前会静默生成午夜),请改用HH。 - 顺带修掉的原 datareader 缺陷:
zipCode的反向区间导致每条记录都抛异常、idCard性别位恒定女性且写在第 15 位而非第 17 位、日期增量单位被截断成首字母("month"实际按分钟递增)、无type的incr规则 NPE。
2. binary 列在文本输出中改为 base64,超限记录不再被静默丢弃 (#1568)
- 文本输出(
txtfilewriter、hdfswriter的分隔符与 SQL 路径)现在把 BINARY/BYTES 列渲染为 base64。此前按 UTF-8 解码,100KB 的载荷会变成 51,200 个 U+FFFD,载荷里内嵌的0x0A还会把一条记录拆成 404 行。消费这些文件的作业现在需要对这些列做 base64 解码。 - 超过
core.transport.channel.byteCapacity(默认 64MB,按排队记录占用)的记录,此前会被两个 exchang...
6.0.13
Addax 6.0.13 has released! 🎉
We are pleased to announce version 6.0.13, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
This release continues Addax's role as the actively maintained successor to Alibaba's DataX (frozen since 2023).
Below are the key updates in this release:
📜 Changes
- bae6704 fix(ci): export both passphrase env names for the deploy step
- 4e93150 fix(ci): point the deploy command at the generated settings file
- 8ee18be fix(ci): export ossrh credentials env in the deploy step
- b041b69 fix(ci): export passphrase env for gpg signing in publish workflow
- eca35a8 fix(build): bump maven-gpg-plugin for setup-java v6 GPG handling
- 6be554e [maven-release-plugin] prepare release 6.0.13
- 3a9081e fix(mongodbwriter): support authDb parameter for MongoDB authentication (#1488)
- 9522e55 feat(addax-gen): generate runnable jobs from connection strings (#1489)
- e71177d docs(docs): rewrite the DataX comparison document
- 7444755 docs(readme-zh): note DataX freeze in Chinese intro
- 27b25af docs(readme): position Addax as the actively maintained successor of DataX
- e46fc40 docs(release): document project status and release process
- 6e16e6f chore(deps): bump httpclient5, log4j, netty, iceberg, zstd and GitHub Actions
- 85b757e Bump com.databend:databend-jdbc from 0.4.0 to 0.4.6 (#1454)
- 89c50a9 Bump io.netty:netty-handler in /plugin/reader/cassandrareader (#1456)
- 6c4f05c Bump org.apache.logging.log4j:log4j-api from 2.25.2 to 2.25.5 (#1475)
- a18e74b Bump org.apache.httpcomponents.core5:httpcore5 from 5.4.2 to 5.4.3 (#1470)
- 48e1f0b Bump com.github.luben:zstd-jni from 1.5.7-6 to 1.5.7-9 (#1455)
- fe53851 Bump org.apache.commons:commons-configuration2 from 2.13.0 to 2.15.0 (#1453)
- a522e54 Bump org.slf4j:log4j-over-slf4j from 2.0.17 to 2.0.18 (#1448)
- 541db3d fix: change column List type from String to Object in MongoDBWriter (#1472)
- d6f93d6 Bump org.apache.httpcomponents.core5:httpcore5-h2 from 5.3.6 to 5.4.3 (#1474)
- 3a5742d Bump github/codeql-action from 4 to 4.37.4 (#1469)
- 4d9350d Bump httpcore.version from 5.3.6 to 5.4.2 (#1449)
- d6e932d Bump actions/setup-java from 5.1.0 to 5.7.0 (#1468)
- eddbd5d Bump docker/login-action from 4 to 4.5.2 (#1466)
- e23fbd3 Bump actions/checkout from 6 to 7 (#1459)
- a0461fe docs(agents): add CLAUDE.md symlink to AGENTS.md
- 95395bc fix(plugin-doriswriter): flush all batches before task success (#1478)
- 1df8a04 fix(doriswriter): await async Stream Load in post(), not destroy() (#1477)
- c784877 [maven-release-plugin] prepare for next development iteration
6.0.12
Addax 6.0.12 has released! 🎉
We are pleased to announce version 6.0.12, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
📜 Changes
- 1eae1dd [maven-release-plugin] prepare release 6.0.12
- 97a0e22 fix(hdfswriter): preserve TIME sub-sec, fix Parquet TS nanos (#1465)
- 9c66517 docs: clarify body format requirements for commit message lint
- 6e2cfb0 fix(lib-rdbms): handle UNSIGNED BIGINT overflow in reader and writer (#1464)
- 613ac86 fix(lib-rdbms): preserve TIME fractional seconds precision in MySQL→PostgreSQL transfer (#1463)
- 9175a65 fix(ci): enforce conventional commit message checks
- 8a5671c [chore][doc]: remove legacy changelog.md and build-docker.sh
- b885fb1 [feat][scrip]: enhance plugin installer script
- 233b0e7 [feat][script]: harden installer with JDK 17 bootstrap and resilient download flow
- 4d14434 [chore][plugin][hdfswriter]:Reorder dependency for snappy-java
- cdfbc60 [refactor][pom] remove unused HBase 1.x dependency and its exclusions
- c568b86 [fix][security] fix Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
- be84f6d [chore][3rd]: update dependencies
- 4b31c09 [refactor][plugins]: Delete legacy plugins
- 2fe417e Merge branch 'master' of github.com:wgzhao/Addax
- 42de0f6 [chore][action] Add maven deploy job
- 1d0ed9e [maven-release-plugin] prepare for next development iteration
6.0.11
Addax 6.0.11 has released! 🎉
We are pleased to announce version 6.0.11, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
📜 Changes
- 928894c [maven-release-plugin] prepare release 6.0.11
- 4f8000a Merge branch 'master' of github.com:wgzhao/Addax
- 4906c6b [chore][action] fix Upload to GitHub
- 553ddf8 [maven-release-plugin] rollback the release of 6.0.11
- e6a1484 [maven-release-plugin] prepare for next development iteration
- cdae063 [maven-release-plugin] prepare release 6.0.11
- 7050f74 [feat][plugin][mongodbreader]: Add support for wildcard with collection configure item (#1438)
- 8abceac [chore][3rd]: update dependencies and GitHub action version
- f4118f8 Merge branch 'master' of github.com:wgzhao/Addax
- e2769e7 docs: update AGENTS.md
- f1a21b8 [chore][3rd]: update dependency versions in pom.xml
- 89c14fd [maven-release-plugin] prepare for next development iteration
6.0.10
Addax 6.0.10 has released! 🎉
We are pleased to announce version 6.0.10, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
highlights
6.0.9
Addax 6.0.9 has released! 🎉
We are pleased to announce version 6.0.9, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
Highlights
- Added YAML job configuration support (.yaml/.yml) alongside JSON, with a full set of YAML example job templates.
- HTTP Reader now supports authConfig token bootstrap for authenticated requests.
- ORC writer normalizes timestamp string output to a consistent yyyy-MM-dd HH:mm:ss format.
Bug Fixes
- RDBMS excludeColumn now works correctly with quoted column names; avoids redundant re-quoting.
- PostgreSQL forced column quoting fixed to use proper double-quote handling and safer fallbacks.
Docs & Examples
- HTTP Reader documentation expanded/updated.
- New project knowledge/conventions documentation added.
- Plugin job template updated for new HTTP auth options.
Operational / Maintenance
- Added logging for PK range SQL execution in SingleTableSplitUtil.
- Ensured mutable handling of allColumns in RDBMS config pretreatment.
- GitHub Actions updates (setup-java, cache) and minor POM/version alignment across modules.
📜 Changes
5c9309c (HEAD -> master, origin/master, origin/HEAD) [maven-release-plugin] prepare for next development iteration
1873049 (tag: 6.0.9) [maven-release-plugin] prepare release 6.0.9
424b62b [bugfix][lib][rdbms]: fix forced column quoting for PostgreSQL (#1417)
1c288ef [bugfix][lib][rdbms]: fixed excludeColumn config not working due to quoted column name mismatch (#1415)
86d24e6 [feat][plugin][httpreader] Add authConfig token bootstrap (#1414)
ad6b116 [chore][core]: Add YAML file support in job configuration
9de195e [feature][core]: Add YAML job config support (#1408)
35922d5 [chore][action] Bump setup-java action version to 5.2.0 in workflows
f476edb [chore][lib][rdbms] Add log for PK range SQL execution in SingleTableSplitUtil
ded60dd [chore][docs]: Add project-specific knowledge and conventions in SKILL.md
c459e23 [chore][lib][rdbms] Ensure allColumns is a mutable list in OriginalConfPretreatmentUtil
41737eb [feature][plugin][hdfswriter] Normalize timestamp string output in OrcWriter
bdd5c51 [update][action] Bump actions/setup-java from 5.0.0 to 5.1.0 (#1390)
c4554eb [update][action] Bump actions/cache from 4 to 5 (#1391)
0326ca8 [maven-release-plugin] prepare for next development iteration
6.0.8
For My Mother
Addax 6.0.8 has released! 🎉
We are pleased to announce version 6.0.8, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
📜 Changes
ac8b7fc [bugfix][plugin][paimonwriter] Fix paimon writer truncate table failed (#1398)
330c2db [bugfix][plugin][paimonwriter] fix paimon data loss (#1396)
fb5530b [feature][lib][rdbms] Add unQuote method to DataBaseType for handling quoted identifiers
d9346e8 Merge branch 'master' of github.com:wgzhao/Addax
a55b19f [bugfix][lib][rdbms] fix null string comparison to be case-insensitive in DataBaseType.java
2071457 [improve][rdbms] Use shared BasicDataSource cache in DBUtil to enable real pooling and fix per-call DS teardown
29a140c [feature][rdbms] Enhance column name quoting with optional force quoting
8fc7116 [chore][dependencies] Bump commons.csv, log4j and zstd to updated version
02a9230 [chore][github][action] update actions/checkout to v6 across workflow files and
b419568 [chore][lib][rdbms] Remove redundant timezone configuration check for MySQL JDBC
a22d9f6 [bugfix][plugin][mysqlreader] Fix NPE when reading GEOMETRY columns with null or SRID-only WKB
2d881af [update][doc] enhance documentation for RDBMS writer configuration parameters and add ddl support
b49ccbf [chore][issue-template] Update default version options in NEW-ISSUE.yml
6.0.7
Addax 6.0.7 has released! 🎉
We are pleased to announce version 6.0.7, which focuses on improving stability and performance by addressing several bugs and implementing minor code refinements.
Below are the key updates in this release:
📜 Changes
8618d02 [maven-release-plugin] prepare for next development iteration
6877e07 (tag: 6.0.7) [maven-release-plugin] prepare release 6.0.7
0d53b54 [bugfix][lib][rdbms] fix #1380 Operation not allowed after ResultSet closed failure observed in writer initialization
f6666f6 [chore][plugin][mysqlreader] Remove unused import statement from MysqlReader.java
efa6c62 [improve][plugin] Enhance job template configuration with additional parameters and improved formatting
5bd62aa [bugfix][plugin][elastcisearchreader] Fix ES query serialization and avoid adding type to search path (#1379)
58b9eae [chore][update][3rd] Update dependency versions in pom.xml
1adb9db [improve][plugin][mongodbwriter] add supports for wildcard column (#1377)
0e2134f [improve][plugin][mongodbreader] add supports for wildcard column (#1376)
544eefc [chore][github] add pull request template to standardize contributions
c70da5f [improve][plugin][mongodbwriter] implement nested field handling for better data structure support
b6972a4 [maven-release-plugin] prepare for next development iteration