Skip to content

Instantly share code, notes, and snippets.

@hakujin
hakujin / perl
Created November 14, 2018 22:17
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
macOS
---------------------------------------------------------------------------
> nix-prefetch-git https://github.com/brendanhay/amazonka.git
git revision is b9ebf7f99dde4196117f44e1bf9bedf3fa468358
path is /nix/store/vc18l7ap4fs8q1rs1jx8qr02lj65n84g-amazonka
git human-readable version is -- none --
Commit date is 2018-10-09 19:12:40 +0200
hash is 1c2xgs94fk6d429cgkch8m42qqrzvqws5y1h34jzfpd079cjv0yq
{
[2018-10-24 21:36:48,467] ERROR WorkerSourceTask{id=FOO-connector-0} Task threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask)
org.apache.kafka.connect.errors.ConnectException: An exception ocurred in the change event producer. This connector will be stopped.
at io.debezium.connector.base.ChangeEventQueue.throwProducerFailureIfPresent(ChangeEventQueue.java:168)
at io.debezium.connector.base.ChangeEventQueue.poll(ChangeEventQueue.java:149)
at io.debezium.connector.postgresql.PostgresConnectorTask.poll(PostgresConnectorTask.java:146)
at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:179)
at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:170)
at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:214)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
$ nix-env -i nix-prefetch-git
$ nix-prefetch-git https://github.com/NixOS/nixpkgs.git > nixpkgs.json