featurebase/cmd
Travis Turner eb6c6e3105
Add kafka support to CLI (fbsql) (#2278)
* Add kafka support to CLI (fbsql)

This commit adds the ability to provide a `--kafka-config` command line
argument referncing a toml file to configure kafka.

* Move "Molecula Consumer" message to the logger; hide it in basic mode

* Fold decimal(scale) into kafka.source-type

* Build fbsql with cgo in docker for CI

* Re-organize the fbsql kafka config and setup.

Allow field config to use the table schema if no fields provided.

* Display timestamp fields with format RFC3339Nano

* remove kafkaRunner (no longer used)

* Fix cli/batch test (and make sure it's not excluded from CI)

The logic in our Makefile was exluding from tests any package with
`/batch` in the package name. This excluded `/cli/batch`, which is not
good.

This commit changes the exclusion logic to include the `/v3` portion of
the package name, so `/v3/batch`.

* Rename Basic() to SetBasic()
2023-03-07 08:18:22 -06:00
..
badloader Fixed some import issues resulting from syncing the private repo 2022-11-17 08:58:22 -08:00
fbsql Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
featurebase FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-12-12 09:01:20 -08:00
featurebase-parse-sql cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
pilosa-bench fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
roaring-migrate staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
slurp staticcheck fixes (#2278) 2022-11-15 11:33:10 -08:00
auth_token.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
backup.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
backup_tar.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
chksum.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
config.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-12-12 09:01:20 -08:00
dataframe-csv-loader.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
dax.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
doc.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
export.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
export_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
generate_config.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
import.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
import_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
keygen.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
parquet-info.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
presort.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
rbf.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
restore.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
restore_tar.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
root.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
root_test.go Sync from private repo to commit 12d608c80d 2022-12-12 09:01:20 -08:00
server.go Reverted some testing log messages and commented out code 2023-03-01 21:43:53 -08:00
server_test.go Sup 294 pre sort command (#2209) 2023-01-23 12:26:38 -06:00