rpk generate app
Generate application code to connect to Redpanda. Creates starter code for various programming languages.
If you are having trouble connecting to your cluster, you can use the common -X admin.hosts=<host:ports> flag to pass a specific Admin API address.
Flags
| Value | Type | Description |
|---|---|---|
|
string |
The language for the generated code sample ( |
|
string |
If provided, |
|
bool |
Generates the sample app without SASL user. |
|
string |
The path where the app will be written. |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |