We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to initialize the type of a record otherwise I have a null exception during Bucket.writeRecord.
Bucket.writeRecord
Record record = Record.builder() .entryName("sensor-1") .timestamp(timestamp) .type("application/octet-stream") .body("Record #1".getBytes()) .build();
The default content type is "application/octet-stream". Additionally let's rename it to content_type as it is called in the other SDKs.
content_type
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current problem
I need to initialize the type of a record otherwise I have a null exception during
Bucket.writeRecord
.Possible solution
The default content type is "application/octet-stream". Additionally let's rename it to
content_type
as it is called in the other SDKs.Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: