Skip to content

Commit

Permalink
Merge pull request #40 from rh-marketingops/hotfix-auth-pw-req
Browse files Browse the repository at this point in the history
remove the requirement for kafka username and password
  • Loading branch information
truthordata authored Mar 3, 2023
2 parents d8f16cc + 1c6a6bf commit 28536d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fluvii/components/auth/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@


class AuthKafkaConfig(KafkaConfigBase, FluviiConfigBase):
username: str
password: SecretStr
username: Optional[str] = None
password: Optional[SecretStr] = None
oauth_url: Optional[str] = None
oauth_scope: Optional[str] = None
mechanisms: Literal['PLAIN', 'OAUTHBEARER'] = 'OAUTHBEARER' if oauth_url else 'PLAIN'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setuptools.setup(
name="fluvii",
version="1.0.1",
version="1.0.2",
description="A simple Kafka streams implementation in Python using confluent-kafka-python",
packages=packages,
install_requires=install_requires,
Expand Down

0 comments on commit 28536d8

Please sign in to comment.