You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works most of the time, but I sometimes get these error messages:
Successfully soft deleted all versions for subject "insurance_customer_activity-value".
Version
-----------
1
Successfully soft deleted all versions for subject "payment_transaction-value".
Version
-----------
1
Hard deleting subject shoestore_clickstream-value
Successfully hard deleted all versions for subject "gaming_player-value".
Version
-----------
2
Hard deleting subject shoestore_shoe-value
Hard deleting subject fleetmgmt_location-value
Error: unable to read configuration file "/Users/gphilippart/.confluent/config.json": invalid character ']' after top-level value
Hard deleting subject pizzastore_order_cancelled-value
Hard deleting subject insurance_customer_activity-value
Error: unable to read configuration file "/Users/gphilippart/.confluent/config.json": invalid character ']' after top-level value
Error: unable to read configuration file "/Users/gphilippart/.confluent/config.json": invalid character ']' after top-level value
Error: unable to read configuration file "/Users/gphilippart/.confluent/config.json": invalid character ']' after top-level value
Hard deleting subject payment_transaction-value
What is probably happening is that another process reads the config.json file in the middle of the config write operation.
It would be best to write the config.json changes in a temporary file and then renaming it, which is an atomic operation at the OS level.
The text was updated successfully, but these errors were encountered:
While the team works on support for running the Confluent CLI in parallel, my recommendation would be to use a separate configuration file for each thread running stateful Confluent CLI commands. You can change the path of the configuration file by prefixing commands with HOME=<tmpdir>, so each configuration file will live at a different <tmpdir>/.confluent/config.json.
I have this shell script which uses the Confluent CLI to delete all subjects in a concurrent fashion:
It works most of the time, but I sometimes get these error messages:
What is probably happening is that another process reads the config.json file in the middle of the config write operation.
It would be best to write the
config.json
changes in a temporary file and then renaming it, which is an atomic operation at the OS level.The text was updated successfully, but these errors were encountered: